handle streaming #5

Closed
opened 2021-02-07 20:35:00 +03:00 by vtolstov · 4 comments
vtolstov commented 2021-02-07 20:35:00 +03:00 (Migrated from github.com)

Handle server streaming, bidi-streaming and client streaming.

Handle server streaming, bidi-streaming and client streaming.
vtolstov commented 2021-02-07 20:38:01 +03:00 (Migrated from github.com)

Think about the case when you need to respond with raw frame data.
Create dedicated proto type? How to avoid grpc deps?

Think about the case when you need to respond with raw frame data. Create dedicated proto type? How to avoid grpc deps?
vtolstov commented 2021-02-07 20:42:53 +03:00 (Migrated from github.com)

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://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
vtolstov commented 2021-02-08 19:36:41 +03:00 (Migrated from github.com)
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/
vtolstov commented 2021-07-27 14:16:15 +03:00 (Migrated from github.com)

for now only one case supported - create dedicated http handler for specific path route and handle streaming in this handler

for now only one case supported - create dedicated http handler for specific path route and handle streaming in this handler
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unistack-org/micro-server-http#5
No description provided.