Path: redb-route/redb.Route.Http/HttpEnums.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Http/HttpEnums.cs
----
namespace redb.Route.Http;
///
/// HTTP methods supported by the component.
///
public enum HttpMethod
{
/// HTTP GET.
GET,
/// HTTP POST.
POST,
/// HTTP PUT.
PUT,
/// HTTP DELETE.
DELETE,
/// HTTP PATCH.
PATCH,
/// HTTP HEAD.
HEAD,
/// HTTP OPTIONS.
OPTIONS
}
// HttpProtocol moved to redb.Route.Http.Hosting (kept in the redb.Route.Http namespace) — it is shared
// between the Kestrel host and the HTTP connector options.
///
/// Authentication scheme: what a producer sends (authScheme) or what a consumer requires (inboundAuth).
///
public enum HttpAuthScheme
{
/// No authentication.
None,
/// HTTP Basic authentication (username:password).
Basic,
/// Bearer token authentication.
Bearer
}