HttpRoutesMiddlewares

zio.http.HttpRoutesMiddlewares$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Inherited methods

final def cors(config: CorsConfig): HttpAppMiddleware[Nothing, Any, Nothing, Any]

Creates a middleware for Cross-Origin Resource Sharing (CORS).

Creates a middleware for Cross-Origin Resource Sharing (CORS).

Attributes

See also:
Inherited from:
Cors (hidden)
def dropTrailingSlash(onlyIfNoQueryParams: Boolean): HttpAppMiddleware[Nothing, Any, Nothing, Any]

Removes the trailing slash from the path.

Removes the trailing slash from the path.

Attributes

Inherited from:
HttpRoutesMiddlewares (hidden)
def dropTrailingSlash: HttpAppMiddleware[Nothing, Any, Nothing, Any]

Attributes

Inherited from:
HttpRoutesMiddlewares (hidden)