Represents a HTTP context implementation, i.e. a HTTP context as seen internally by EmbedIO.
This API mainly supports the EmbedIO infrastructure; it is not intended to be used directly from your code, unless to address specific needs in the implementation of EmbedIO plug-ins (e.g. modules).
Namespace: EmbedIO Syntaxpublic interface IHttpContextImpl : IHttpContext, IMimeTypeProvider
Properties CancellationToken
Gets or sets a CancellationToken used to stop processing of this context.
This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
DeclarationCancellationToken CancellationToken { get; set; }
Property Value Type Description CancellationToken MimeTypeProviders
Gets the MIME type providers.
This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
DeclarationMimeTypeProviderStack MimeTypeProviders { get; }
Property Value Type Description MimeTypeProviderStack Route
Gets or sets the route matched by the requested URL path.
DeclarationRouteMatch Route { get; set; }
Property Value Type Description RouteMatch Session
Gets or sets the session proxy associated with this context.
This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
DeclarationISessionProxy Session { get; set; }
Property Value Type Description ISessionProxy
An interface.
SupportCompressedRequestsGets or sets a value indicating whether compressed request bodies are supported.
This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
Declarationbool SupportCompressedRequests { get; set; }
Property Value See Also User
Gets or sets the user.
This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
DeclarationIPrincipal User { get; set; }
Property Value Type Description IPrincipal Methods AcceptWebSocketAsync(IEnumerable<String>, String, Int32, TimeSpan, CancellationToken)
Asynchronously handles a WebSockets opening handshake and returns a newly-created interface.
This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
DeclarationTask<IWebSocketContext> AcceptWebSocketAsync(IEnumerable<string> requestedProtocols, string acceptedProtocol, int receiveBufferSize, TimeSpan keepAliveInterval, CancellationToken cancellationToken)
Parameters Type Name Description IEnumerable<String> requestedProtocols
The requested WebSocket sub-protocols.
String acceptedProtocolThe accepted WebSocket sub-protocol, or the empty string is no sub-protocol has been agreed upon.
Int32 receiveBufferSizeSize of the receive buffer.
TimeSpan keepAliveIntervalThe keep-alive interval.
CancellationToken cancellationTokenA CancellationToken used to stop the server.
Returns Type Description Task<IWebSocketContext>An interface.
Close()Flushes and closes the response stream, then calls any registered close callbacks.
This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
Declaration See Also See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4