handle streaming #5
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: unistack-org/micro-server-http#5
Loading…
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