MCPcopy Create free account
hub / github.com/Effect-TS/effect / startup

Function startup

packages/sql/pg/src/PgConnection.ts:2608–2612  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2606 }
2607
2608 const startup = (): void => {
2609 parser = PgProtocol.makeParser<unknown>({ maxMessageSize: config.maxMessageSize })
2610 socket.on("data", onData)
2611 socket.write(PgProtocol.encodeStartupMessage(config.startupParameters))
2612 }
2613
2614 const onSslResponse = (chunk: Uint8Array): void => {
2615 if (done) return

Callers 2

onSslResponseFunction · 0.85
beginFunction · 0.85

Calls 2

onMethod · 0.65
writeMethod · 0.65

Tested by

no test coverage detected