Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
IsWildcardProtobufContentType ( Nancy.Responses.Negotiation.MediaRange requestedContentType ) : bool |
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. |
return | Nancy.Responses.Negotiation.ProcessorMatch |
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. |
return | Response |