|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBaseRefCounted | +--CefResponsein cef_response.h
Class used to represent a web response. The methods of this class may be called on any thread.
Inner Classes, Typedefs, and Enums | |
typedef |
CefResponse::HeaderMap
|
Method Summary | |
static CefRefPtr< CefResponse > |
Create()
Create a new CefResponse object. |
virtual CefString |
GetCharset()= 0
Get the response charset. |
virtual cef_errorcode_t |
GetError()= 0
Get the response error code. |
virtual CefString |
GetHeaderByName( const CefString& name )= 0
Get the value for the specified response header field. |
virtual void |
GetHeaderMap( CefResponse::HeaderMap& headerMap )= 0
Get all response header fields. |
virtual CefString |
GetMimeType()= 0
Get the response mime type. |
virtual int |
GetStatus()= 0
Get the response status code. |
virtual CefString |
GetStatusText()= 0
Get the response status text. |
virtual CefString |
GetURL()= 0
Get the resolved URL after redirects or changed as a result of HSTS. |
virtual bool |
IsReadOnly()= 0
Returns true if this object is read-only. |
virtual void |
SetCharset( const CefString& charset )= 0
Set the response charset. |
virtual void |
SetError( cef_errorcode_t error )= 0
Set the response error code. |
virtual void |
SetHeaderByName( const CefString& name, const CefString& value, bool overwrite )= 0
Set the header |name| to |value|. |
virtual void |
SetHeaderMap( const CefResponse::HeaderMap& headerMap )= 0
Set all response header fields. |
virtual void |
SetMimeType( const CefString& mimeType )= 0
Set the response mime type. |
virtual void |
SetStatus( int status )= 0
Set the response status code. |
virtual void |
SetStatusText( const CefString& statusText )= 0
Set the response status text. |
virtual void |
SetURL( const CefString& url )= 0
Set the resolved URL after redirects or changed as a result of HSTS. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public static CefRefPtr< CefResponse > Create();
public virtual CefString GetCharset()= 0;
public virtual cef_errorcode_t GetError()= 0;
public virtual CefString GetHeaderByName( const CefString& name )= 0;
public virtual void GetHeaderMap( CefResponse::HeaderMap& headerMap )= 0;
public virtual CefString GetMimeType()= 0;
public virtual int GetStatus()= 0;
public virtual CefString GetStatusText()= 0;
public virtual CefString GetURL()= 0;
public virtual bool IsReadOnly()= 0;
public virtual void SetCharset( const CefString& charset )= 0;
public virtual void SetError( cef_errorcode_t error )= 0;
public virtual void SetHeaderByName( const CefString& name, const CefString& value, bool overwrite )= 0;
public virtual void SetHeaderMap( const CefResponse::HeaderMap& headerMap )= 0;
public virtual void SetMimeType( const CefString& mimeType )= 0;
public virtual void SetStatus( int status )= 0;
public virtual void SetStatusText( const CefString& statusText )= 0;
public virtual void SetURL( const CefString& url )= 0;
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |