Results for “Std.Http.Server.Route.Request”
59 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Http.Server.Route.Request
What a request is once it has been routed, and how a router decides.
- Std.App.Access.get
Str -> Std.App.Access.Requirement -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.App.Access.GuardedA route that requires something, for each method.
- Std.App.Access.on
Std.Http.Method -> Str -> Std.App.Access.Requirement -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.App.Access.GuardedA route requiring something, for a method this module does not name.
- Std.App.Access.patch
Str -> Std.App.Access.Requirement -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.App.Access.GuardedA route answering PATCH, allowed only when the requirement is met.
- Std.App.Access.post
Str -> Std.App.Access.Requirement -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.App.Access.GuardedA route answering POST, allowed only when the requirement is met.
- Std.App.Access.put
Str -> Std.App.Access.Requirement -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.App.Access.GuardedA route answering PUT, allowed only when the requirement is met.
- Std.App.Access.query
Str -> Std.App.Access.Requirement -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.App.Access.GuardedA route answering QUERY, allowed only when the requirement is met.
- Std.App.Access.remove
Str -> Std.App.Access.Requirement -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.App.Access.GuardedA route answering DELETE, allowed only when the requirement is met.
- Std.App.Access.routing
&Array[Std.App.Access.Guarded] -> fn(Std.Http.Server.Route.Request) -> Std.App.Access.Principal -> Std.Http.Server.Route.RouterA router over routes that all stated what they require.
- Std.App.Bind.bind
&Std.Http.Server.Route.Request -> &Array[Std.App.Bind.Wanted] -> Std.App.Bind.BoundWhat a request carried, checked against what was wanted.
- Std.App.Bind.binding
&Std.Http.Server.Route.Request -> &Array[Std.App.Bind.Wanted] -> Result[Std.App.Bind.Bound, Std.Http.Response]The bound values, or the refusal, in one step for the common handler.
- Std.App.Bind.carriesDocument
&Std.Http.Server.Route.Request -> BoolWhether a request carries a document.
- Std.App.Bind.carriesForm
&Std.Http.Server.Route.Request -> BoolWhether a request carries a form.
- Std.App.Bind.mediaType
&Std.Http.Server.Route.Request -> StrThe media type a request states, without whatever follows it.
- Std.App.Tenant.guard
&Std.App.Tenant.TenantRegistry -> fn(&Std.Http.Server.Route.Request) -> Option[Str] -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseHTTP middleware enforcing tenant admission, concurrency bounds, and account status.
- Std.App.Tenant.resolveFromHeader
Str -> fn(&Std.Http.Server.Route.Request) -> Option[Str]Tenant resolver extracting tenant identifier from an HTTP header.
- Std.App.steppedBy
&Std.App.App -> &Array[fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.Response] -> Std.App.AppThe application with steps a program chose instead of the usual ones.
- Std.App.stepsOf
&Std.App.App -> Array[fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.Response]The steps wrapped around this application's handlers.
- Std.App.wrapping
&Std.App.App -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.Response -> Std.App.AppThe application with one more step around every handler, outside the ones
- Std.Compress.Gzip.middleware
&Std.Compress.Gzip.GzipConfig -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseCompress eligible public responses without changing binary payload bytes on the wire.
- Std.Http.Server.Guard.audited
&Std.App.Audit.AuditLog -> Str -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseAudit logging middleware recording security outcomes in the tamper-evident audit ledger.
- Std.Http.Server.Guard.boundedConcurrency
Int -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseBounded concurrent request admission middleware enforcing backpressure.
- Std.Http.Server.Guard.circuitBreaker
Int -> Int -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseCircuit breaker middleware protecting downstream dependencies from cascading failure.
- Std.Http.Server.Guard.identified
fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseA request identity, carried into the answer.
- Std.Http.Server.Guard.identityOf
&Std.Http.Server.Route.Request -> StrThe identity a request carries, or one made for it.
- Std.Http.Server.Guard.protectedHeaders
fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseThe protective headers, added to whatever the answer was.
- Std.Http.Server.Guard.quiet
fn(Str) -> () -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseA step that answers a refusal the same way whatever caused it.
- Std.Http.Server.Guard.rateLimited
Int -> Int -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseA rate limiting middleware that restricts requests per peer within a moving window.
- Std.Http.Server.Guard.rateLimitedTracking
Int -> Int -> Int -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseA rate limiter remembering at most
peerspeers. - Std.Http.Server.Guard.sameSiteOnly
fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseA refusal of state-changing requests that came from another site.
- Std.Http.Server.Guard.shared
&Std.Http.Server.Guard.Sharing -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseThe cross-origin permission, from the allowlist and only from it.
- Std.Http.Server.Guard.standard
&Std.Http.Server.Guard.Sharing -> Array[fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.Response]Every protection, in the order they belong.
- Std.Http.Server.Guard.strict
Array[fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.Response]Every protection for a service nothing shares with, which is most of them.
- Std.Http.Server.Guard.timeout
Int -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseRequest deadline middleware enforcing an execution time budget.
- Std.Http.Server.Guard.traceOf
&Std.Http.Server.Route.Request -> Bool -> Std.App.Trace.TraceThe trace a request belongs to, continued from what it carried.
- Std.Http.Server.Guard.traced
Bool -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseA step that answers with the trace the request belongs to.
- Std.Http.Server.Route.body
&Std.Http.Server.Route.Request -> StrThe body a request carried, as text; empty when the body was not UTF-8.
- Std.Http.Server.Route.bodyBytes
&Std.Http.Server.Route.Request -> BytesThe exact bytes of the body a request carried, whether or not they are text.
- Std.Http.Server.Route.carriesFields
&Std.Http.Server.Route.Request -> BoolWhether a request carried fields in the ordinary encoding.
- Std.Http.Server.Route.carriesForm
&Std.Http.Server.Route.Request -> BoolWhether a request carried a form with files in it.
- Std.Http.Server.Route.delete
Str -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.Http.Server.Route.RouteA route answering DELETE on a path.
- Std.Http.Server.Route.dispatch
&Std.Http.Server.Route.Router -> Std.Http.Server.Route.Request -> Std.Http.ResponseSend a request through a router.
- Std.Http.Server.Route.fieldsOf
&Std.Http.Server.Route.Request -> Map[Str, Str]The fields an ordinary form posted.
- Std.Http.Server.Route.formOf
&Std.Http.Server.Route.Request -> &Std.Http.Multipart.Limits -> Result[Array[Std.Http.Multipart.Part], Std.Http.Multipart.MultipartError]The form a request carried, when it carried one.
- Std.Http.Server.Route.get
Str -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.Http.Server.Route.RouteA route answering GET on a path.
- Std.Http.Server.Route.header
&Std.Http.Server.Route.Request -> Str -> Option[Str]A header, found without regard to the case it was written in.
- Std.Http.Server.Route.notFoundHandler
Std.Http.Server.Route.Request -> Std.Http.ResponseThe response a request nothing matched receives.
- Std.Http.Server.Route.on
Std.Http.Method -> Str -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.Http.Server.Route.RouteOne route, as a value.
- Std.Http.Server.Route.param
&Std.Http.Server.Route.Request -> Str -> Option[Str]A captured piece of the path, or nothing when the pattern captured none.
- Std.Http.Server.Route.patch
Str -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.Http.Server.Route.RouteA route answering PATCH on a path.
- Std.Http.Server.Route.post
Str -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.Http.Server.Route.RouteA route answering POST on a path.
- Std.Http.Server.Route.put
Str -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.Http.Server.Route.RouteA route answering PUT on a path.
- Std.Http.Server.Route.query
Str -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.Http.Server.Route.RouteA route for a request carrying its terms in its own body.
- Std.Http.Server.Route.queryParam
&Std.Http.Server.Route.Request -> Str -> Option[Str]A query value, or nothing when the request carried none.
- Std.Http.Server.Route.withFallback
&Std.Http.Server.Route.Router -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.Http.Server.Route.RouterA router answering unmatched requests with something of its own.
- Std.Http.Server.Socket.accept
&Std.Http.Server.Route.Request -> &Array[Str] -> Result[Std.Http.Response, Std.Http.Server.Socket.SocketError]The answer that agrees to a lasting connection, or the reason it is refused.
- Std.Http.Server.Socket.isUpgrade
&Std.Http.Server.Route.Request -> BoolWhether a request is asking for a lasting connection.
- Std.Http.Server.handlerOf
&Std.Http.Server.Server -> fn(Std.Http.Server.Route.Request) -> Std.Http.ResponseThe handler a server presents, with every step wrapped around it.
- Std.Http.Server.logging
fn(Str) -> () -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseA step that writes a line about every request once its answer is known.
