C# Class Owin.BufferContentIntoAMemoryStreamMiddleware

Due to the way that Nancy handles self-hosting environments, this forces uploaded files to be prematurely read into memory before continuing the owin pipeline execution.
Inheritance: Microsoft.Owin.OwinMiddleware
Afficher le fichier Open project: dealproc/Drey

Méthodes publiques

Méthode Description
BufferContentIntoAMemoryStreamMiddleware ( Microsoft.Owin.OwinMiddleware next ) : Microsoft.Owin
Invoke ( IOwinContext context ) : System.Threading.Tasks.Task

Process an individual request.

Private Methods

Méthode Description
ReadFully ( Stream input ) : byte[]

Method Details

BufferContentIntoAMemoryStreamMiddleware() public méthode

public BufferContentIntoAMemoryStreamMiddleware ( Microsoft.Owin.OwinMiddleware next ) : Microsoft.Owin
next Microsoft.Owin.OwinMiddleware
Résultat Microsoft.Owin

Invoke() public méthode

Process an individual request.
public Invoke ( IOwinContext context ) : System.Threading.Tasks.Task
context IOwinContext
Résultat System.Threading.Tasks.Task