Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ServeCodec (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. api/go1.txt

    pkg net/rpc, func NewClientWithCodec(ClientCodec) *Client
    pkg net/rpc, func NewServer() *Server
    pkg net/rpc, func Register(interface{}) error
    pkg net/rpc, func RegisterName(string, interface{}) error
    pkg net/rpc, func ServeCodec(ServerCodec)
    pkg net/rpc, func ServeConn(io.ReadWriteCloser)
    pkg net/rpc, func ServeRequest(ServerCodec) error
    pkg net/rpc, method (*Client) Call(string, interface{}, interface{}) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top