public class RawRequestBodyFormatter : InputFormatter
Public Class RawRequestBodyFormatter
Inherits InputFormatter
public ref class RawRequestBodyFormatter : public InputFormatter
type RawRequestBodyFormatter =
class
inherit InputFormatter
end
RawRequestBodyFormatter | Инициализирует новый экземпляр класса RawRequestBodyFormatter |
SupportedMediaTypes |
Gets the mutable collection of media type elements supported by
this InputFormatter.
(Унаследован от InputFormatter) |
CanRead(InputFormatterContext) | (Унаследован от InputFormatter) |
CanRead(InputFormatterContext) | Allow text/plain, application/octet-stream and no content type to be processed |
CanReadType |
Determines whether this InputFormatter can deserialize an object of the given
type.
(Унаследован от InputFormatter) |
GetDefaultValueForType |
Gets the default value for a given type. Used to return a default value when the body contains no content.
(Унаследован от InputFormatter) |
GetSupportedContentTypes | (Унаследован от InputFormatter) |
ReadAsync | (Унаследован от InputFormatter) |
ReadRequestBodyAsync(InputFormatterContext) | Handle text/plain or no content type for string results Handle application/octet-stream for byte[] results |
ReadRequestBodyAsync(Void) | (Унаследован от InputFormatter) |