HttpListenArgPositional listen address for http — same shapes as Tag / protocolHttp:
port (3000 / ":3000"), http(s)://… url, or full ListenOptions.
Source src/internal/nodeCore.ts:3416 lines
export type type HttpListenArg =
| number
| `:${number}`
| `http://${string}`
| `https://${string}`
| ListenOptions
Positional listen address for
http
— same shapes as
Tag
/ protocolHttp:
port (3000 / ":3000"), http(s)://… url, or full
ListenOptions
.
HttpListenArg =
| number
| `:${number}`
| `http://${string}`
| `https://${string}`
| type ListenOptions = {
readonly path?: HttpRouter.PathInput
readonly serialization?: Layer.Layer<RpcSerialization.RpcSerialization>
readonly health?: {
readonly path?: HttpRouter.PathInput
}
readonly node?:
| string
| {
readonly key: string
}
readonly unlink?: boolean
readonly onConflict?: OnConflict
readonly port?: number
readonly url?: string
readonly assumeToken?:
| string
| Redacted.Redacted<string>
readonly onYield?: Effect.Effect<boolean>
}
Shared options for
unix
/
http
/
ws
(and low-level *Server) —
rpc path / health / ipc unlink, plus optional fixed listen address for nameless Http/Ws.
ListenOptions;
Referenced by 1 symbols