Add grpc codec

This commit is contained in:
Asim Aslam
2019-01-02 12:55:06 +00:00
parent 7cf94162b8
commit ed580204a8
5 changed files with 203 additions and 4 deletions

View File

@@ -245,6 +245,9 @@ func (h *httpTransportSocket) Recv(m *Message) error {
}
}
// set path
m.Header[":path"] = h.r.URL.Path
// return early early
return nil
}
@@ -276,6 +279,9 @@ func (h *httpTransportSocket) Recv(m *Message) error {
}
}
// set path
m.Header[":path"] = h.r.URL.Path
return nil
}