Module Values.GrpcConfigSource

Amazon CloudFront supports gRPC, an open-source remote procedure call (RPC) framework built on HTTP/2. gRPC offers bi-directional streaming and binary protocol that buffers payloads, making it suitable for applications that require low latency communications. To enable your distribution to handle gRPC requests, you must include HTTP/2 as one of the supported HTTP versions and allow HTTP methods, including POST. For more information, see Using gRPC with CloudFront distributions in the Amazon CloudFront Developer Guide.

Sourcetype nonrec t = {
  1. enabled : Boolean.t;
    (*

    Enables your CloudFront distribution to receive gRPC requests and to proxy them directly to your origins.

    *)
}
Sourceval context_ : string
Sourceval make : enabled:Boolean.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t