C# Class m.Http.HttpResponse

Afficher le fichier Open project: joongonn/mHttp Class Usage Examples

Méthodes publiques

Méthode Description
HttpResponse ( HttpStatusCode statusCode ) : System
HttpResponse ( HttpStatusCode statusCode, string contentType ) : System
HttpResponse ( HttpStatusCode statusCode, string contentType, HttpBody body ) : System
HttpResponse ( HttpStatusCode statusCode, string statusDescription, string contentType ) : System
HttpResponse ( HttpStatusCode statusCode, string statusDescription, string contentType, string>.IDictionary headers, HttpBody body ) : System

Private Methods

Méthode Description
WriteToAsync ( Stream toStream, int keepAlives, System.TimeSpan keepAliveTimeout ) : Task

Method Details

HttpResponse() public méthode

public HttpResponse ( HttpStatusCode statusCode ) : System
statusCode HttpStatusCode
Résultat System

HttpResponse() public méthode

public HttpResponse ( HttpStatusCode statusCode, string contentType ) : System
statusCode HttpStatusCode
contentType string
Résultat System

HttpResponse() public méthode

public HttpResponse ( HttpStatusCode statusCode, string contentType, HttpBody body ) : System
statusCode HttpStatusCode
contentType string
body HttpBody
Résultat System

HttpResponse() public méthode

public HttpResponse ( HttpStatusCode statusCode, string statusDescription, string contentType ) : System
statusCode HttpStatusCode
statusDescription string
contentType string
Résultat System

HttpResponse() public méthode

public HttpResponse ( HttpStatusCode statusCode, string statusDescription, string contentType, string>.IDictionary headers, HttpBody body ) : System
statusCode HttpStatusCode
statusDescription string
contentType string
headers string>.IDictionary
body HttpBody
Résultat System