Click or drag to resize

IResponse Interface

Version 108.4.130
Class used to represent a web response. The methods of this class may be called on any thread.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 108.4.130.0 (108.4.130.0)
Syntax
public interface IResponse : IDisposable

The IResponse type exposes the following members.

Properties
  NameDescription
Public propertyCharset
Get/Set the response charset.
Public propertyErrorCode
Get/set the response error code.
Public propertyHeaders
Response Headers
Public propertyIsReadOnly
Returns true if this object is read-only.
Public propertyMimeType
MimeType
Public propertyStatusCode
The status code of the response. Unless set, the default value used is 200 (corresponding to HTTP status OK).
Public propertyStatusText
Status Text
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetHeaderByName
Returns the first header value for name or an empty string if not found. Will not return the Referer value if any. Use Headers instead if name might have multiple values.
Public methodSetHeaderByName
Set the header name to value.
Top
See Also