Optionalconfig: TServerConfigWhether the server is currently listening.
Return the bound address (if any).
Stop listening.
Optionalcallback: (err?: Error) => voidStart listening.
Create a SvelteKit-like RequestEvent for handlers.
This is intentionally minimal, but:
A minimal HTTP/HTTPS server that adapts Node's IncomingMessage/ServerResponse to a Fetch API Request/Response and a SvelteKit-like RequestEvent.
Key properties: