handle streaming #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Handle server streaming, bidi-streaming and client streaming.
Think about the case when you need to respond with raw frame data.
Create dedicated proto type? How to avoid grpc deps?
https://www.github.com/micro/go-micro/tree/master/codec%2Fproto%2Fmessage.go
Provide proto without generated file in codec package and write proto based type
https://golang.org/pkg/net/http/#Request.MultipartReader
for handle big file uploads is only way to have multipart grpc message that contains multipart stuff
https://golang.org/pkg/mime/multipart/#Part to handle file responses
https://peter.bourgon.org/blog/2019/02/12/multipart-http-responses.html
https://www.threeaccents.com/posts/handling-large-file-uploads-in-go/
for now only one case supported - create dedicated http handler for specific path route and handle streaming in this handler