Class RestRequestDefinition

Assembly: redb.Route.Http.dll

First step of a REST route: path parameters become plain headers (header.id), query parameters
header.query.*; a request whose Content-Type does not match Consumes is answered
with 415 and stopped; with client request validation on, an Accept that excludes
Produces is answered with 406 and a missing or non-convertible declared parameter with 400;
under JSON binding a declared request type is unmarshalled.

public sealed class RestRequestDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→RestRequestDefinition

Implements

Inherited Members

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)