C# 클래스 PusherServer.RawBodySerializer

An implementation of the ISerializeObjectsToJson that passes through the raw string.
상속: ISerializeObjectsToJson
파일 보기 프로젝트 열기: pusher/pusher-http-dotnet

공개 메소드들

메소드 설명
Serialize ( object body ) : string

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

메소드 상세

Serialize() 공개 메소드

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.
리턴 string