Method OnContextCreatedAsync
OnContextCreatedAsync(HttpHost, HttpHostContext)
Called when a new context is created for the specified HTTP host.
public virtual Task OnContextCreatedAsync(HttpHost host, HttpHostContext context)
Parameters
host
HttpHostThe HTTP host that created the context.
context
HttpHostContextThe newly created context.
Returns
- Task
A task that represents the asynchronous operation.