Skip to main content

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
TypeName
System.StringcontentType
System.Typetype
System.Stringrequest

DeserializeFromStream(String, Type, Stream)

View Source
Declaration
object DeserializeFromStream(string contentType, Type type, Stream requestStream)
Returns

System.Object

Parameters
TypeName
System.StringcontentType
System.Typetype
System.IO.StreamrequestStream

GetStreamDeserializer(String)

View Source
Declaration
StreamDeserializerDelegate GetStreamDeserializer(string contentType)
Returns

ServiceStack.Web.StreamDeserializerDelegate

Parameters
TypeName
System.StringcontentType

GetStreamDeserializerAsync(String)

View Source
Declaration
StreamDeserializerDelegateAsync GetStreamDeserializerAsync(string contentType)
Returns

ServiceStack.Web.StreamDeserializerDelegateAsync

Parameters
TypeName
System.StringcontentType