Header menu logo Falco.UnionRoutes

HttpMethod Type

HTTP method discriminated union for use in route handlers.

Union cases

Union case Description

Any

Full Usage: Any

Matches any HTTP method.

Delete

Full Usage: Delete

HTTP DELETE method.

Get

Full Usage: Get

HTTP GET method.

Patch

Full Usage: Patch

HTTP PATCH method.

Post

Full Usage: Post

HTTP POST method.

Put

Full Usage: Put

HTTP PUT method.

Instance members

Instance member Description

this.IsAny

Full Usage: this.IsAny

Returns: bool
Returns: bool

this.IsDelete

Full Usage: this.IsDelete

Returns: bool
Returns: bool

this.IsGet

Full Usage: this.IsGet

Returns: bool
Returns: bool

this.IsPatch

Full Usage: this.IsPatch

Returns: bool
Returns: bool

this.IsPost

Full Usage: this.IsPost

Returns: bool
Returns: bool

this.IsPut

Full Usage: this.IsPut

Returns: bool
Returns: bool

Type something to start searching.