|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
gRPC-Web message framing (DETWS_ENABLE_GRPC_WEB) - zero-heap length-prefixed frame builder + parser, the HTTP/1.1-reachable subset of gRPC that wraps the Protobuf codec (services/protobuf). gRPC proper needs HTTP/2; gRPC-Web rides the shipped HTTP/1.1 server/client. More...
#include "ServerConfig.h"Go to the source code of this file.
gRPC-Web message framing (DETWS_ENABLE_GRPC_WEB) - zero-heap length-prefixed frame builder + parser, the HTTP/1.1-reachable subset of gRPC that wraps the Protobuf codec (services/protobuf). gRPC proper needs HTTP/2; gRPC-Web rides the shipped HTTP/1.1 server/client.
Each gRPC / gRPC-Web message is a 5-octet prefix then the body:
grpc-status:0\r\ngrpc-message:...\r\n) instead of a Protobuf message.The message body is an encoded Protobuf message (build it with the protobuf codec, then frame it here). This is the framing layer only.
Definition in file grpcweb.h.