C# Class Gate.Middleware.ContentType

Sets content type in response if none present
Afficher le fichier Open project: owin/museum-piece-gate

Méthodes publiques

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

Method Details

ContentType() public méthode

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

ContentType() public méthode

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

Invoke() public méthode

public Invoke ( object>.IDictionary env ) : Task
env object>.IDictionary
Résultat Task