LoginSignup
0
0

Connect RPC

Last updated at Posted at 2024-02-24

Protocol Buffersとは、データをシリアライズするためのメカニズムである。

Protocol Buffers are language-neutral, platform-neutral extensible mechanisms for serializing structured data.

Relationship between Protocol and Content-Type

grpc

  • application/grpc
  • application/grpc+proto
  • application/grpc+json

grpc-web

  • application/grpc-web
  • application/grpc-web+proto
  • application/grpc-web+json

connect

  • application/proto (for unary RPCs)
  • application/json (for unary RPCs)
  • application/connect+proto (for streaming)
  • application/connect+json (for streaming)

gRPCでもJSONを使用できる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0