Click or drag to resize

OwinResourceHandler Class

Version 104.4.240
ResourceHandler implementation that uses an OWIN capable host of fulfilling requests. Can be used with NancyFx or AspNet Core
Inheritance Hierarchy
SystemObject
  CefSharpResourceHandler
    CefSharp.SchemeHandlerOwinResourceHandler

Namespace:  CefSharp.SchemeHandler
Assembly:  CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntax
public class OwinResourceHandler : ResourceHandler

The OwinResourceHandler type exposes the following members.

Constructors
  NameDescription
Public methodOwinResourceHandler
OwinResourceHandler
Top
Properties
  NameDescription
Public propertyAutoDisposeStream
When true the Stream will be Disposed when this instance is Disposed. The default value for this property is false.
(Inherited from ResourceHandler.)
Public propertyCharset
Gets or sets the Charset
(Inherited from ResourceHandler.)
Public propertyErrorCode
If the ErrorCode is set then the response will be ignored and the errorCode returned.
(Inherited from ResourceHandler.)
Public propertyHeaders
Gets or sets the headers.
(Inherited from ResourceHandler.)
Public propertyMimeType
Gets or sets the Mime Type.
(Inherited from ResourceHandler.)
Public propertyResponseLength
Gets or sets ResponseLength, when you know the size of your Stream (Response) set this property. This is optional. If you use a MemoryStream and don't provide a value here then it will be cast and its size used
(Inherited from ResourceHandler.)
Public propertyStatusCode
Gets or sets the http status code.
(Inherited from ResourceHandler.)
Public propertyStatusText
Gets or sets the status text.
(Inherited from ResourceHandler.)
Public propertyStream
Gets or sets the resource stream.
(Inherited from ResourceHandler.)
Top
Methods
  NameDescription
Public methodDispose
Dispose of resources here
(Inherited from ResourceHandler.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessRequestAsync
Read the request, then process it through the OWEN pipeline then populate the response properties.
(Overrides ResourceHandlerProcessRequestAsync(IRequest, ICallback).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also