Results for “server”
182 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Http.Server.Server
A server, ready to be given an address.
- Std.Http.Server.server
&Std.Http.Server.Route.Router -> Std.Http.Server.ServerA server over a router, with no middleware and the default limits.
- Std.Http.Server.ServerError
Why a server could not start or could not keep serving.
- Std.Http.Server.Configuring
A server with one decision changed, each answering the server rather than
- Std.Http.Server.Running
A running server, and the switch that stops it.
- 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.listenAndServe
&Std.Http.Server.Server -> Str -> Int -> Int -> Result[Int, Std.Http.Server.ServerError]Start, serve, and stop, for a caller that wants one call.
- 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.
- Std.Http.Server.portOf
&Std.Http.Server.Running -> IntWhich port a running server is on.
- Std.Http.Server.run
&Std.Http.Server.Server -> &Std.Http.Server.Running -> Int -> Result[Int, Std.Http.Server.ServerError]Accept connections into a bounded queue consumed by a fixed worker pool.
- Std.Http.Server.serveConnection
&Std.Http.Server.Server -> &Std.Net.Connection -> BoolServe one connection: read a request, answer it, and say whether the
- Std.Http.Server.start
Str -> Int -> Result[Std.Http.Server.Running, Std.Http.Server.ServerError]Start listening, and answer what is needed to stop.
- Std.Http.Server.stop
&Std.Http.Server.Running -> Result[(), Std.Http.Server.ServerError]Ask a server to stop.
- Std.Http.Server.stopOnSignal
&Std.Http.Server.Running -> BoolStop the server when the supervisor asks the program to stop.
- Std.Db.Session.serverFailure
&Bytes -> Std.Db.Session.DbErrorThe failure a server-reported error carries.
- Std.Ui.Island.serverActionForm
Str -> Str -> &Array[Std.Html.Html] -> Std.Html.HtmlBuilds an accessible HTML form with automatic CSRF token protection.
- Std.Http.headerServer
StrWhat software answered the request.
- Std.Http.isServerError
&Std.Http.Status -> BoolWhether a status blames the server.
- Std.Http.Server.Guard.Sharing
Which origins a service permits to read its answers.
- Std.Http.Server.Guard.allowing
&Std.Http.Server.Guard.Sharing -> &Array[Str] -> Std.Http.Server.Guard.SharingThe same, permitting different methods.
- 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.redirect
Int -> Str -> &Array[Str] -> Std.Http.ResponseA redirect to somewhere the program named, or a refusal.
- 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.shareNothing
Std.Http.Server.Guard.SharingA service that permits no other origin to read its answers.
- Std.Http.Server.Guard.shareWith
&Array[Str] -> Std.Http.Server.Guard.SharingA service that permits the named origins, and nothing else.
- 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.Guard.withCredentials
&Std.Http.Server.Guard.Sharing -> Std.Http.Server.Guard.SharingThe same, for a caller that also sends credentials. A wildcard is not
- Std.Http.Server.Lambda.Invocation
One invocation, as the platform hands it over.
- Std.Http.Server.Lambda.LambdaError
Serving a platform that invokes a program instead of connecting to it.
- Std.Http.Server.Lambda.RUNTIME_ADDRESS_VARIABLE
StrThe variable a platform announces its runtime interface in.
- Std.Http.Server.Lambda.RUNTIME_VERSION
StrThe version of the interface this module was written against.
- Std.Http.Server.Lambda.Runtime
The interface a platform offers, and the version of it being spoken.
- Std.Http.Server.Lambda.answer
&Std.Http.Server.Lambda.Runtime -> &Std.Http.Server.Lambda.Invocation -> Str -> Result[(), Std.Http.Server.Lambda.LambdaError]Post an answer for one invocation.
- Std.Http.Server.Lambda.explain
&Std.Http.Server.Lambda.LambdaError -> StrWhy a loop ended, in words a deployment log can be read by.
- Std.Http.Server.Lambda.fail
&Std.Http.Server.Lambda.Runtime -> &Std.Http.Server.Lambda.Invocation -> Str -> Result[(), Std.Http.Server.Lambda.LambdaError]Say an invocation could not be answered.
- Std.Http.Server.Lambda.failedToStart
&Std.Http.Server.Lambda.Runtime -> Str -> Result[(), Std.Http.Server.Lambda.LambdaError]Say the program could not start at all.
- Std.Http.Server.Lambda.fromEnvironment
Option[Std.Http.Server.Lambda.Runtime]The interface this process was started under, when it was started under one.
- Std.Http.Server.Lambda.nextInvocation
&Std.Http.Server.Lambda.Runtime -> Result[Std.Http.Server.Lambda.Invocation, Std.Http.Server.Lambda.LambdaError]Ask for the next invocation, waiting until there is one.
- Std.Http.Server.Lambda.runtimeAt
Str -> Std.Http.Server.Lambda.RuntimeAn interface at a stated address, speaking the version this was written for.
- Std.Http.Server.Lambda.runtimePath
&Std.Http.Server.Lambda.Runtime -> Str -> StrWhere the interface serves one of its paths.
- Std.Http.Server.Lambda.serve
&Std.Http.Server.Lambda.Runtime -> fn(Std.Json.Json) -> Result[Str, Str] -> Result[(), Std.Http.Server.Lambda.LambdaError]Take invocations and answer them until the platform stops the process.
- Std.Http.Server.Lambda.serveEnvironment
fn(Std.Json.Json) -> Result[Str, Str] -> Result[(), Std.Http.Server.Lambda.LambdaError]Serve the interface this process was started under.
- Std.Http.Server.Lambda.speaking
&Std.Http.Server.Lambda.Runtime -> Str -> Std.Http.Server.Lambda.RuntimeThe same interface, speaking a different version of the protocol.
- Std.Http.Server.Lambda.underARuntime
BoolWhether this program was started by a platform that invokes it.
- Std.Http.Server.Reply.acceptQuery
&Array[Str] -> (Str, Str)The media types a resource accepts for a request that carries its terms in
- Std.Http.Server.Reply.bytes
Int -> Str -> &Bytes -> Std.Http.ResponseA response carrying arbitrary bytes with an explicit media type.
- Std.Http.Server.Reply.computeEtag
Str -> StrComputes a fast hex ETag hash from body content.
- Std.Http.Server.Reply.conditional
&Array[(Str, Str)] -> &Std.Http.Response -> Str -> Std.Http.ResponseEvaluates If-None-Match in the request; answers 304 Not Modified on match or attaches ETag on miss.
- Std.Http.Server.Reply.empty
Int -> Std.Http.ResponseA response with a status and nothing else.
- Std.Http.Server.Reply.gatewayTimeout
Str -> Std.Http.ResponseA 504 Gateway Timeout response.
- Std.Http.Server.Reply.html
Int -> Str -> Std.Http.ResponseA response carrying HTML.
- Std.Http.Server.Reply.json
Int -> Str -> Std.Http.ResponseA response carrying JSON, already encoded.
- Std.Http.Server.Reply.jsonValue
Int -> Std.Json.Json -> Std.Http.ResponseEncode the standard JSON model at the response boundary.
- Std.Http.Server.Reply.notModified
Str -> Std.Http.ResponseA 304 Not Modified response with an ETag and empty body.
- Std.Http.Server.Reply.page
Int -> Std.Html.Html -> Std.Http.ResponseRender a complete HTML document, including its doctype.
- Std.Http.Server.Reply.rendered
Int -> Std.Html.Ssr.Rendered -> Std.Http.ResponseReuse server-rendered output and its UTF-8 length without rendering again.
- Std.Http.Server.Reply.serviceUnavailable
Int -> Std.Http.ResponseA 503 Service Unavailable response with a Retry-After directive in seconds.
- Std.Http.Server.Reply.text
Int -> Str -> Std.Http.ResponseThe answers a handler gives, apart from the routing that chose it and the
- Std.Http.Server.Reply.tooManyRequests
Int -> Std.Http.ResponseA 429 Too Many Requests response with a Retry-After directive in seconds.
- Std.Http.Server.Reply.unprocessable
Str -> Std.Http.ResponseThe refusal a body the resource could read but could not act on receives.
- Std.Http.Server.Reply.unsupportedMediaType
&Array[Str] -> Std.Http.ResponseThe refusal a body in a type the resource cannot read receives.
- Std.Http.Server.Reply.view
Int -> Std.Html.Html -> Std.Http.ResponseRender a typed fragment using the standard HTML escaping rules.
- Std.Http.Server.Reply.withEtag
&Std.Http.Response -> Str -> Std.Http.ResponseAttaches an ETag entity tag validator header to a response.
- Std.Http.Server.Resilience.NetworkProfile
Classification of client connection constraints.
- Std.Http.Server.Resilience.enforceInitcwndBudget
&Bytes -> Int -> Result[Bytes, Str]Enforces that an early flush payload fits strictly within the TCP initial congestion window (initcwnd).
- Std.Http.Server.Resilience.inspectClientNetwork
&Array[(Str, Str)] -> Std.Http.Server.Resilience.NetworkProfileInspects request headers for Client Hints and data-saving directives.
- Std.Http.Server.Resilience.selectAdaptivePayload
&Std.Http.Server.Resilience.NetworkProfile -> &Bytes -> &Bytes -> BytesSelects lightweight minimal markup on poor connections and full markup on broadband.
- Std.Http.Server.Resilience.swrHeaders
Int -> Int -> &Array[Str] -> Array[(Str, Str)]Constructs RFC 5861 `stale-while-revalidate` Cache-Control directives and optional cache tags.
- Std.Http.Server.Route.Handler
Str -> Std.Html.UnsafeWhat a handler is: a request in, a response out, and nothing else.
- Std.Http.Server.Route.Middleware
A step that wraps a handler.
- Std.Http.Server.Route.Request
What a request is once it has been routed, and how a router decides.
- Std.Http.Server.Route.Route
One route: a method, a pattern, and what answers it.
- Std.Http.Server.Route.Router
Where requests are sent, and what answers the ones nothing matched.
- Std.Http.Server.Route.adding
&Std.Http.Server.Route.Router -> Std.Http.Server.Route.Route -> Std.Http.Server.Route.RouterA router with one more route after the ones it has.
- 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.joining
&Std.Http.Server.Route.Router -> &Std.Http.Server.Route.Router -> Std.Http.Server.Route.RouterTwo routers joined, the first tried before the second.
- 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.pathOf
Str -> StrThe path a target names, with its query removed.
- 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.queryOf
Str -> Map[Str, Str]The query a target carries, read once rather than by every handler.
- 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.router
Std.Http.Server.Route.RouterA router with nothing in it, answering everything as not found.
- Std.Http.Server.Route.routing
&Array[Std.Http.Server.Route.Route] -> Std.Http.Server.Route.RouterA router over a list of routes.
- Std.Http.Server.Route.under
Str -> &Array[Std.Http.Server.Route.Route] -> Array[Std.Http.Server.Route.Route]Every route with a prefix in front of its pattern.
- 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.Security.constantTimeCompare
&Str -> &Str -> BoolCompares tokens in constant time to prevent side-channel timing attacks.
- Std.Http.Server.Security.generateNonce
Int -> StrGenerates a hexadecimal nonce for per-request CSP inline script/style authorization.
- Std.Http.Server.Security.strictSecurityHeaders
Str -> Array[(Str, Str)]Generates defense-in-depth HTTP security headers with strict CSP.
- Std.Http.Server.Security.verifyOrigin
Option[Str] -> Option[Str] -> Str -> BoolValidates that mutation requests originate from the expected host.
- Std.Http.Server.Socket.Frame
One frame read off a connection: what it is, whether it completes a
- Std.Http.Server.Socket.Message
What a message is.
- Std.Http.Server.Socket.SocketError
Why a connection was refused or a frame would not be read.
- 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.accepting
Str -> StrThe value that proves this end followed the protocol.
- Std.Http.Server.Socket.answering
&Std.Http.Server.Socket.Message -> Option[Std.Http.Server.Socket.Message]The answer a check of the far end expects.
- Std.Http.Server.Socket.binary
&Bytes -> Std.Http.Server.Socket.MessageBytes to send.
- Std.Http.Server.Socket.completes
&Std.Http.Server.Socket.Frame -> BoolWhether a frame completes the message it belongs to.
- Std.Http.Server.Socket.decode
&Bytes -> Int -> Result[(Std.Http.Server.Socket.Frame, Int), Std.Http.Server.Socket.SocketError]The frame at the start of these bytes, and how many bytes it used.
- Std.Http.Server.Socket.encode
&Std.Http.Server.Socket.Message -> BytesA frame to send to the far end.
- Std.Http.Server.Socket.explain
&Std.Http.Server.Socket.SocketError -> StrWhat a refusal says.
- Std.Http.Server.Socket.goodbye
Int -> Str -> Std.Http.Server.Socket.MessageA goodbye to send.
- Std.Http.Server.Socket.isControl
&Std.Http.Server.Socket.Frame -> BoolWhether a frame is one the protocol handles rather than the program.
- Std.Http.Server.Socket.isUpgrade
&Std.Http.Server.Route.Request -> BoolWhether a request is asking for a lasting connection.
- Std.Http.Server.Socket.messageLimit
IntHow large a message this module reads when nothing said otherwise.
- Std.Http.Server.Socket.messageOf
&Std.Http.Server.Socket.Frame -> Result[Std.Http.Server.Socket.Message, Std.Http.Server.Socket.SocketError]What a frame means, once it is whole.
- Std.Http.Server.Socket.text
Str -> Std.Http.Server.Socket.MessageText to send.
- Std.Http.Server.Stream.finishChunked
&Std.Net.Connection -> Int -> Result[(), Std.Net.NetError]Emits the HTTP/1.1 chunked terminator frame `0\r\n\r\n`.
- Std.Http.Server.Stream.sendChunk
&Std.Net.Connection -> &Bytes -> Int -> Result[(), Std.Net.NetError]Sends a single chunk framed as `<hex-length>\r\n<data>\r\n`.
- Std.Http.Server.Stream.sendHead
&Std.Net.Connection -> Int -> &Array[(Str, Str)] -> Int -> Result[(), Std.Net.NetError]Sends HTTP status and headers immediately with `Transfer-Encoding: chunked`.
- Std.Http.Server.Stream.streamChunks
&Std.Net.Connection -> Int -> &Array[(Str, Str)] -> &Array[Bytes] -> Int -> Result[(), Std.Net.NetError]Coordinates complete chunked response delivery over the socket.
- 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.over
Str -> &Std.App.Config.Config -> &Std.Http.Server.Route.Router -> Std.App.AppAn application over settings the caller already has, for a program whose
- Std.App.routerOf
&Std.App.App -> Std.Http.Server.Route.RouterWhat the application serves.
- Std.App.serve
Str -> &Std.Http.Server.Route.Router -> Result[Int, Std.App.AppError]A name and a router, and a service is running.
- Std.App.serving
&Std.App.App -> &Std.Http.Server.Route.Router -> Std.App.AppAn application with different routes.
- 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.web
Str -> &Std.Http.Server.Route.Router -> Result[Std.App.App, Std.App.AppError]The same application, built and not run.
- 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.Html.Media.adaptiveImage
&Std.Http.Server.Resilience.NetworkProfile -> Str -> Str -> Int -> Int -> Std.Html.Media.Priority -> Str -> BytesRenders a network-adaptive `<img>` tag tuned for device telemetry and network bandwidth.
- Std.Html.Media.adaptivePicture
&Std.Http.Server.Resilience.NetworkProfile -> Str -> Str -> Int -> Int -> &Array[Std.Html.Media.SourceRule] -> Std.Html.Media.Priority -> BytesRenders a network-adaptive `<picture>` container.
- Std.Db.Protocol.Column
A column the server says a result will have.
- Std.Db.Protocol.authenticationKind
&Bytes -> Result[Int, Std.Db.Protocol.ProtocolError]What kind of authentication the server asked for, read from the message
- Std.Db.Protocol.parse
Str -> Str -> BytesA statement given to the server to plan, with the values left as holes.
- Std.Db.Protocol.password
Str -> BytesA password sent as the server asked for it.
- Std.Db.Protocol.query
Str -> BytesA simple query, which asks the server to plan and run text in one step.
- Std.Db.Protocol.sync
BytesEnd the sequence, so the server reports and becomes ready again.
- Std.Db.Session.DbError
Opening a connection and keeping it: the handshake, what the server asks
- Std.Db.Session.withStatus
Std.Db.Session.Connection -> &Bytes -> Std.Db.Session.ConnectionThe transaction status the server reports with every message saying it is
- Std.Db.Session.write
&Std.Db.Session.Connection -> &Bytes -> Result[(), Std.Db.Session.DbError]Send bytes to the server.
- Std.Db.simple
Std.Db.Session.Connection -> Str -> Result[(Std.Db.Rows, Std.Db.Session.Connection), Std.Db.Session.DbError]Run text the server plans and executes in one step.
- Std.Http.headerAcceptRanges
StrThe range units a server accepts, or `none`.
- Std.Http.headerExpect
StrWhat the client requires the server to support.
- Std.Http.isSafe
&Std.Http.Method -> BoolWhether a method is defined to have no effect on the server.
- Std.Mail.Smtp.SmtpReply
A parsed RFC 5321 server reply containing a status code and message lines.
- Std.Mail.Smtp.SmtpSecurity
How a connection to the server is protected.
- Std.Mail.Smtp.parseReply
Str -> Result[Std.Mail.Smtp.SmtpReply, Std.Mail.Smtp.SmtpError]Parses an RFC 5321 server response string into a structured status code and message lines.
- Std.Mail.envelope
&Std.Mail.Message -> Array[Std.Mail.Address]Every address a server must be given, which is not the same list the
- Std.Ui.Island.Hydration
Wraps a server-rendered component in an isolated progressive island element.
- Std.Ui.Island.island
Str -> Str -> Std.Html.Html -> Std.Html.HtmlWrap server-rendered content as an island, hydrated on arrival.
- Std.Ui.Island.islandWithHydration
Str -> Str -> Std.Html.Html -> Std.Ui.Island.Hydration -> Std.Html.HtmlWrap server-rendered content as an island, hydrated as the mode says.
