good morning!!!!

Skip to content
Snippets Groups Projects
Verified Commit 438b7a7e authored by a's avatar a
Browse files

yay

parent 72623c1e
No related branches found
No related tags found
2 merge requests!15Draft: V2,!13Draft: Move Openrpc Package
......@@ -45,7 +45,14 @@ func (c *Client) listen() error {
id := v.ID.Number()
if id == 0 {
if c.handler != nil {
c.handler.ServeRPC(w, r)
c.handler.ServeRPC(nil, codec.NewRequestFromRaw(c.c.ctx, &codec.RequestMarshaling{
Method: v.Method,
Params: v.Params,
Peer: codec.PeerInfo{
Transport: "ipc",
RemoteAddr: "",
},
}))
}
continue
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment