- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ServeCodec (0.13 sec)
-
src/net/rpc/server.go
// connection. To use an alternate codec, use [ServeCodec]. // See [NewClient]'s comment for information about concurrent access. func ServeConn(conn io.ReadWriteCloser) { DefaultServer.ServeConn(conn) } // ServeCodec is like [ServeConn] but uses the specified codec to // decode requests and encode responses. func ServeCodec(codec ServerCodec) { DefaultServer.ServeCodec(codec) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 21.6K bytes - Viewed (0) -
src/net/rpc/jsonrpc/server.go
// ServeConn blocks, serving the connection until the client hangs up. // The caller typically invokes ServeConn in a go statement. func ServeConn(conn io.ReadWriteCloser) { rpc.ServeCodec(NewServerCodec(conn))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*Client).Go", Method, 0}, {"(*Server).Accept", Method, 0}, {"(*Server).HandleHTTP", Method, 0}, {"(*Server).Register", Method, 0}, {"(*Server).RegisterName", Method, 0}, {"(*Server).ServeCodec", Method, 0}, {"(*Server).ServeConn", Method, 0}, {"(*Server).ServeHTTP", Method, 0}, {"(*Server).ServeRequest", Method, 0}, {"(ServerError).Error", Method, 0}, {"Accept", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)