engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IWebBrowserSchemeHandler::IHeaders类 参考abstract

An interface for setting response headers emulating a http implementation. 更多...

#include <IWebBrowserSchemeHandler.h>

Public 成员函数

virtual void SetContentLength (int32 ContentLength)=0
 Sets the content length for the response. 更多...
 
virtual void SetHeader (const TCHAR *Key, const TCHAR *Value)=0
 Sets a header for the response. 更多...
 
virtual void SetMimeType (const TCHAR *MimeType)=0
 Sets the mime type for the response. 更多...
 
virtual void SetRedirect (const TCHAR *Url)=0
 Sets a redirect url for the response. 更多...
 
virtual void SetStatusCode (int32 StatusCode)=0
 Sets the status code for the response. 更多...
 

详细描述

An interface for setting response headers emulating a http implementation.

成员函数说明

◆ SetContentLength()

virtual void IWebBrowserSchemeHandler::IHeaders::SetContentLength ( int32  ContentLength)
pure virtual

Sets the content length for the response.

参数
ContentLengthThe size of the response content in bytes.

◆ SetHeader()

virtual void IWebBrowserSchemeHandler::IHeaders::SetHeader ( const TCHAR *  Key,
const TCHAR *  Value 
)
pure virtual

Sets a header for the response.

参数
KeyThe header key.
ValueThe header value.

◆ SetMimeType()

virtual void IWebBrowserSchemeHandler::IHeaders::SetMimeType ( const TCHAR *  MimeType)
pure virtual

Sets the mime type for the response.

参数
MimeTypeThe Mime Type.

◆ SetRedirect()

virtual void IWebBrowserSchemeHandler::IHeaders::SetRedirect ( const TCHAR *  Url)
pure virtual

Sets a redirect url for the response.

Other calls will be ignored if this is used.

参数
UrlThe url to redirect to.

◆ SetStatusCode()

virtual void IWebBrowserSchemeHandler::IHeaders::SetStatusCode ( int32  StatusCode)
pure virtual

Sets the status code for the response.

参数
StatusCodeThe status code.

该类的文档由以下文件生成: