NamespaceSystemLibrary.Common.Framework.App
An enum of various media types that can be sent to the Client request methods
The 'ContentType' is sent as an 'Accept' HEADER in the request
NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent
ContentType
public enum ContentType
Fields
Name | Summary |
---|---|
Auto | Auto-detect the content type by reading headers or the body |
None | Do not set the content type header, it will be 'none', unspecified basically |
bmp | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
css | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
docx | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
gif | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
graphql | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
html | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
javascript | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
jpeg | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
json | Sends data as application/json, if 'data' passed to the client through put/post/get already is a string, no conversion is made, else it is being converted to json string before data is sent |
jsonPatch | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
multipartFormData | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
octetStream | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
|
png | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
svg | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
text | Sends data as text/plain, if 'data' passed to the client through put/post/get already is a string, no conversion is made, else it is being converted to json string before data is sent |
tiff | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
webp | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
xml | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
xwwwformUrlEncoded | Sends data as application/x-www-form-urlencoded |
zip | An enum of various media types that can be sent to the Client request methods The 'ContentType' is sent as an 'Accept' HEADER in the request NOTE: Not all of them have been implemented yet though, but all will be sent as 'ACCEPT' header if specified, if you specify ContentType.none, no accept header is sent |
Extension Methods
}