C# Class NuGet.Services.BasicSearch.ResponseWriter

Afficher le fichier Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Méthodes publiques

Méthode Description
WriteResponseAsync ( IOwinContext context, ClientException e ) : System.Threading.Tasks.Task
WriteResponseAsync ( IOwinContext context, Exception e, Microsoft.Extensions.Logging.ILogger logger ) : System.Threading.Tasks.Task
WriteResponseAsync ( IOwinContext context, HttpStatusCode statusCode, Action writeContent ) : System.Threading.Tasks.Task
WriteResponseAsync ( IOwinContext context, HttpStatusCode statusCode, JToken content ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
WriteToStream ( Stream destination, Action writeContent ) : void

Method Details

WriteResponseAsync() public méthode

public WriteResponseAsync ( IOwinContext context, ClientException e ) : System.Threading.Tasks.Task
context IOwinContext
e NuGet.Indexing.ClientException
Résultat System.Threading.Tasks.Task

WriteResponseAsync() public méthode

public WriteResponseAsync ( IOwinContext context, Exception e, Microsoft.Extensions.Logging.ILogger logger ) : System.Threading.Tasks.Task
context IOwinContext
e System.Exception
logger Microsoft.Extensions.Logging.ILogger
Résultat System.Threading.Tasks.Task

WriteResponseAsync() public méthode

public WriteResponseAsync ( IOwinContext context, HttpStatusCode statusCode, Action writeContent ) : System.Threading.Tasks.Task
context IOwinContext
statusCode HttpStatusCode
writeContent Action
Résultat System.Threading.Tasks.Task

WriteResponseAsync() public méthode

public WriteResponseAsync ( IOwinContext context, HttpStatusCode statusCode, JToken content ) : System.Threading.Tasks.Task
context IOwinContext
statusCode HttpStatusCode
content JToken
Résultat System.Threading.Tasks.Task