IContentTypeReader
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IContentTypeReader
Methods
DeserializeFromString(String, Type, String)
View Source
Declaration
object DeserializeFromString(string contentType, Type type, string request)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.String | contentType |
System.Type | type |
System.String | request |
DeserializeFromStream(String, Type, Stream)
View Source
Declaration
object DeserializeFromStream(string contentType, Type type, Stream requestStream)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.String | contentType |
System.Type | type |
System.IO.Stream | requestStream |
GetStreamDeserializer(String)
View Source
Declaration
StreamDeserializerDelegate GetStreamDeserializer(string contentType)
Returns
ServiceStack.Web.StreamDeserializerDelegate
Parameters
Type | Name |
---|---|
System.String | contentType |
GetStreamDeserializerAsync(String)
View Source
Declaration
StreamDeserializerDelegateAsync GetStreamDeserializerAsync(string contentType)
Returns
ServiceStack.Web.StreamDeserializerDelegateAsync
Parameters
Type | Name |
---|---|
System.String | contentType |