RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Route.Http Show all

redb.Route.Http

Classes

C ConcurrencyLimitOptions Per-registration admission limit for one route on the shared Kestrel host. Kestrel itself
C EndpointRegistration Endpoints a transport mapped onto a shared listener with
C ForwardedHeaderResolver Turns X-Forwarded-For and X-Forwarded-Proto into a client address and scheme,
C HostConnectionLimits Coarse host-wide backstop: Kestrel's own connection ceilings, applied to every listener this
C HostingServiceCollectionExtensions Registration for the shared Kestrel hosting infrastructure.
C Http Fluent API for HTTP endpoints.
C HttpBuilder Fluent builder for HTTP/HTTPS endpoint URIs.
C HttpComponent HTTP/HTTPS component. Schemes: "http", "https".
C HttpConnectionFactory Named connection factory for HTTP. Register it in the route registry and reference it by name
C HttpConsumer HTTP consumer. Uses SharedHttpServerManager to register routes on a shared
C HttpCorsOptions Global CORS configuration for HTTP components.
C HttpEndpoint HTTP endpoint. Creates either a producer (HTTP client) or consumer (Kestrel server).
C HttpEndpointOptions Options for the HTTP endpoint. Shared by both producer and consumer.
C HttpHeaderFilterStrategy The default of the HTTP component, Apache Camel's HttpHeaderFilterStrategy.
C HttpHeaders Well-known header constants used by the HTTP component.
C HttpHostingOptions Process-wide settings of the shared Kestrel host. One instance serves every listener the
C HttpProducer HTTP producer. Sends HTTP requests using .
C Https Fluent API for HTTPS endpoints.
C HttpsComponent HTTPS component. Behaves identically to HTTP but uses the "https" scheme.
C RouteCorsOptions Per-route CORS configuration applied by the shared HTTP server's dispatch middleware.
C RouteRegistration Handle for a registered route on a shared server.
C ServerTlsOptions The host's own TLS material. A listener that asks for TLS resolves its certificate from the
C ServiceCollectionExtensions Extension methods for registering the HTTP component with dependency injection.
C SharedHttpServerManager Manages shared Kestrel server instances across multiple route contexts.
C TrustedProxyOptions The set of reverse proxies the shared Kestrel host trusts to speak for the client.

Interfaces

I IHttpTokenValidator Checks the bearer token of an inbound request for an http: consumer or a REST declaration with

Structs

S ForwardedResolution Outcome of resolving the forwarded headers of one request.

Enums

E HttpAuthScheme Authentication scheme: what a producer sends (authScheme) or what a consumer requires (inboundAuth).
E HttpMethod HTTP methods supported by the component.
E HttpProtocol HTTP protocol version for the Kestrel host. Lives in the shared hosting assembly (kept in the

redb.Route.Http.Rest

Classes

C OpenApiDocumentDefinition Serves the OpenAPI 3.0.3 document of a : paths and operations from the
C RestDefinition REST DSL (Apache Camel rest() parity) on top of the HTTP consumer and the shared Kestrel host:
C RestErrorProperties Exchange properties the REST request step sets before it hands a refused request to the error
C RestOptions Settings of one Rest(...) declaration: where the routes listen, default binding and media
C RestParamDefinition One parameter declared on a REST verb with Param(...): described in the OpenAPI document
C RestRequestDefinition First step of a REST route: path parameters become plain headers (header.id), query parameters
C RestResponseDefinition Last step of a REST route: writes the Produces media type, marshals a CLR object body to
C RestRouteBuilderExtensions Entry point of the REST DSL: this.Rest("/api/orders", o => o.Port = 8080) inside a .
C RestVerbDefinition One operation of a : method + path template, media types, binding
C RestXmlContribution The <rest> element (the REST DSL of this package): a

Enums

E RestBindingMode How request and response bodies are bound to CLR types by the REST DSL.
E RestParamDataType The value type of a declared REST parameter, as OpenAPI names it.
E RestParamType Where a declared REST parameter comes from.