#ReadWriteCloser">ReadWriteCloser</a>) <a href="net/rpc.htm">rpc</a>.<a href="net/rpc.htm#ClientCodec">ClientCodec</a></pre>
    <p>NewClientCodec返回一个在连接上使用JSON-RPC的rpc.ClientCodec。</p>
    <h3 id="NewServerCodec">func <a title="View Source" href="https://github.com/golang/go/blob/master/src/net/rpc/jsonrpc/server.go?name=release#37">NewServerCodec</a> <a class="permalink" href="#pkg-index">&para;</a></h3>
    <pre class="funcdecl">func NewServerCodec(conn <a href="io.htm">io</a>.<a 