Share via


DefaultHttpContextFactory Class

Definition

A factory for creating HttpContext instances.

public ref class DefaultHttpContextFactory : Microsoft::AspNetCore::Http::IHttpContextFactory
public class DefaultHttpContextFactory : Microsoft.AspNetCore.Http.IHttpContextFactory
type DefaultHttpContextFactory = class
    interface IHttpContextFactory
Public Class DefaultHttpContextFactory
Implements IHttpContextFactory
Inheritance
DefaultHttpContextFactory
Implements

Constructors

DefaultHttpContextFactory(IServiceProvider)

Creates a factory for creating HttpContext instances.

Methods

Create(IFeatureCollection)

Create an HttpContext instance given an featureCollection.

Dispose(HttpContext)

Clears the current HttpContext.

Applies to