MCPcopy Create free account
hub / github.com/CPChain/chain / SetWriteDeadline

Method SetWriteDeadline

api/rpc/client.go:214–216  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

212}
213
214func (io StdIOConn) SetWriteDeadline(t time.Time) error {
215 return &net.OpError{Op: "set", Net: "stdio", Source: nil, Addr: nil, Err: errors.New("deadline not supported")}
216}
217func DialStdIO(ctx context.Context) (*Client, error) {
218 return newClient(ctx, func(_ context.Context) (net.Conn, error) {
219 return StdIOConn{}, nil

Callers 1

writeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected