(options: Options)
| 35 | } |
| 36 | |
| 37 | static async create(options: Options): Promise<Server> { |
| 38 | const app = await App.start(options) |
| 39 | const server = createHonoServer(app, options) |
| 40 | return new Server(app, server) |
| 41 | } |
| 42 | |
| 43 | get fetch(): HonoServer['fetch'] { |
| 44 | return this.#hono.fetch |