本文へ移動
Senri
API リファレンス

/node

@senrijs/senri/node。Node.js の node:http で動かす

Node.js の node:http で動かす。

import { ... } from "@senrijs/senri/node";

関数とクラス

名前すること
serve(app, options)node:http で起動して、http.Server を返す

ポートの決め方・起動の表示・止め方は、@senrijs/senri/serve の serve() と違って行いません。

ソース: adapters/node/index.ts

このページの内容