Enum HttpParts
Marker for the response
Namespace:Dapplo.HttpExtensions.Support
Assembly:Dapplo.HttpExtensions.dll
Syntax
public enum HttpParts
Fields
| Improve this Doc View SourceMultipartBoundary
The property specifies the boundary of a multi-part
Declaration
MultipartBoundary = 2
None
Default value.
Declaration
None = 0
Request
Marks the class as a request class
Declaration
Request = 1
RequestContent
Specifies the content for uploading
Declaration
RequestContent = 5
RequestContentType
Specifies the content-type for uploading
Declaration
RequestContentType = 6
RequestHeaders
Specifies the request headers to send on the request, this should be of type IDictionary where key is string and value is string
Declaration
RequestHeaders = 7
RequestMultipartFilename
The property specifies the filename of the content in a multi-part post
Declaration
RequestMultipartFilename = 4
RequestMultipartName
The property specifies the name of the content in a multi-part post
Declaration
RequestMultipartName = 3
Response
Marks the class as a reponse class
Declaration
Response = 8
ResponseContent
The property will get the response content, HttpResponseMessage can also be used
Declaration
ResponseContent = 9
ResponseContentType
Specifies the content-type, either for uploading or for the response
Declaration
ResponseContentType = 11
ResponseErrorContent
The property will get the response content, when an error occured
Declaration
ResponseErrorContent = 10
ResponseHeaders
Marks HttpResponseHeaders,
Declaration
ResponseHeaders = 13
ResponseStatuscode
The Http-Status code, should be of type HttpStatusCode
Declaration
ResponseStatuscode = 12