C# 클래스 Nancy.Serialization.ProtoBuf.ProtoBufProcessor

An IResponseProcessor implementation for ProtoBuffer.
상속: IResponseProcessor
파일 보기 프로젝트 열기: NancyFx/Nancy.Serialization.ProtBuf

공개 메소드들

메소드 설명
CanProcess ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, NancyContext context ) : Nancy.Responses.Negotiation.ProcessorMatch

Determines whether the the processor can handle a given content type and model.

Process ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, NancyContext context ) : Response

Process the response.

비공개 메소드들

메소드 설명
IsWildcardProtobufContentType ( Nancy.Responses.Negotiation.MediaRange requestedContentType ) : bool

메소드 상세

CanProcess() 공개 메소드

Determines whether the the processor can handle a given content type and model.
public CanProcess ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, NancyContext context ) : Nancy.Responses.Negotiation.ProcessorMatch
requestedMediaRange Nancy.Responses.Negotiation.MediaRange Content type requested by the client.
model dynamic The model for the given media range.
context NancyContext The nancy context.
리턴 Nancy.Responses.Negotiation.ProcessorMatch

Process() 공개 메소드

Process the response.
public Process ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, NancyContext context ) : Response
requestedMediaRange Nancy.Responses.Negotiation.MediaRange Content type requested by the client.
model dynamic The model for the given media range.
context NancyContext The nancy context.
리턴 Response