C# Class m.Http.HttpResponse

Show file Open project: joongonn/mHttp Class Usage Examples

Public Methods

Method 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

Method Description
WriteToAsync ( Stream toStream, int keepAlives, System.TimeSpan keepAliveTimeout ) : Task

Method Details

HttpResponse() public method

public HttpResponse ( HttpStatusCode statusCode ) : System
statusCode HttpStatusCode
return System

HttpResponse() public method

public HttpResponse ( HttpStatusCode statusCode, string contentType ) : System
statusCode HttpStatusCode
contentType string
return System

HttpResponse() public method

public HttpResponse ( HttpStatusCode statusCode, string contentType, HttpBody body ) : System
statusCode HttpStatusCode
contentType string
body HttpBody
return System

HttpResponse() public method

public HttpResponse ( HttpStatusCode statusCode, string statusDescription, string contentType ) : System
statusCode HttpStatusCode
statusDescription string
contentType string
return System

HttpResponse() public method

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
return System