MCPcopy Create free account
hub / github.com/porsager/postgres / connect

Function connect

deno/polyfills.js:164–171  ·  view source on GitHub ↗
({ socket, ...options })

Source from the content-addressed store, hash-verified

162
163export const tls = {
164 connect({ socket, ...options }) {
165 socket.encrypted = true
166 socket.readyState = 'connecting'
167 Deno.startTls(socket.raw, { hostname: socket.hostname, ...options })
168 .then(socket.success, socket.error)
169 socket.raw = null
170 return socket
171 }
172}
173
174let ids = 1

Callers

nothing calls this directly

Calls 1

thenMethod · 0.45

Tested by

no test coverage detected