index overview

Added in v0.1.0


Table of contents


constructors

route

Returns a middleware that tries to route the request.

Signature

export declare function route<I = StatusOpen, E = never, A = never>(
  parser: Parser<A>,
  onNone: Lazy<E>
): Middleware<I, I, E, A>

Added in v0.1.0