MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / tcp

Method tcp

src/pglite/server.rs:229–232  ·  view source on GitHub ↗

Bind the server to a TCP address.

(mut self, addr: SocketAddr)

Source from the content-addressed store, hash-verified

227
228 /// Bind the server to a TCP address.
229 pub fn tcp(mut self, addr: SocketAddr) -> Self {
230 self.endpoint = ServerEndpointConfig::Tcp(addr);
231 self
232 }
233
234 /// Bind the server to a Unix-domain socket path.
235 #[cfg(unix)]

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected