C# Class Gate.Middleware.ContentType

Sets content type in response if none present
Mostrar archivo Open project: owin/museum-piece-gate

Public Methods

Method Description
ContentType ( Func,Task> nextApp )
ContentType ( Func,Task> nextApp, string contentType )
Invoke ( object>.IDictionary env ) : Task

Method Details

ContentType() public method

public ContentType ( Func,Task> nextApp )
nextApp Func,Task>

ContentType() public method

public ContentType ( Func,Task> nextApp, string contentType )
nextApp Func,Task>
contentType string

Invoke() public method

public Invoke ( object>.IDictionary env ) : Task
env object>.IDictionary
return Task