Interface IHttpContextHandler
Represents an object that can handle a HTTP context.
This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
Namespace: EmbedIO
Syntax
public interface IHttpContextHandler
Methods
HandleContextAsync(IHttpContextImpl)
Asynchronously handles a HTTP context, generating a suitable response for an incoming request.
This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
Declaration
Task HandleContextAsync(IHttpContextImpl context)
Parameters
| Type | Name | Description |
|---|---|---|
| IHttpContextImpl | context | The HTTP context. |
Returns
| Type | Description |
|---|---|
| Task | A |