🧁 An object-oriented Gemini server for Deno!
gemini-protocol deno typescript gemini
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor(server): make ctx explicitly optional

Fuwn 4ffddf6f 497a739f

+2 -2
+2 -2
laurali/server.ts
··· 88 88 } 89 89 90 90 /** Called before a connection to a client has been responded to */ 91 - protected onPreRoute?(ctx: Deno.TlsConn): void; 91 + protected onPreRoute?(ctx?: Deno.TlsConn): void; 92 92 93 93 /** Called after a connection to a client has concluded */ 94 - protected onPostRoute?(ctx: Deno.TlsConn): void; 94 + protected onPostRoute?(ctx?: Deno.TlsConn): void; 95 95 96 96 /** Called before the `Server` starts listening for connections */ 97 97 protected onListen?(): void;