api/classes/qioserverbuilder
Globals / QIOServerBuilder
Class: QIOServerBuilder
Hierarchy
- QIOServerBuilder
Index
Accessors
Methods
Accessors
serve
• get serve(): QIO<never>
Defined in packages/prototype/FServer.ts:18
Returns: QIO<never>
Methods
bind
▸ bind(port
: number): QIOServerBuilder
Defined in packages/prototype/FServer.ts:25
Parameters:
Name | Type |
---|---|
port | number |
Returns: QIOServerBuilder
mount
▸ mount(path
: string, fn
: (req: IncomingMessage) => QIO<string>): QIOServerBuilder
Defined in packages/prototype/FServer.ts:28
Parameters:
Name | Type |
---|---|
path | string |
fn | (req: IncomingMessage) => QIO<string> |
Returns: QIOServerBuilder
of
▸ Static
of(): QIOServerBuilder
Defined in packages/prototype/FServer.ts:14
Returns: QIOServerBuilder