C# Class PusherServer.RawBodySerializer

An implementation of the ISerializeObjectsToJson that passes through the raw string.
Inheritance: ISerializeObjectsToJson
Mostra file Open project: pusher/pusher-http-dotnet

Public Methods

Method Description
Serialize ( object body ) : string

Presumes we are getting a string as the body, and passes it through.

Method Details

Serialize() public method

Presumes we are getting a string as the body, and passes it through.
Thrown if the body provided is not a string.
public Serialize ( object body ) : string
body object The string body to pass through.
return string