Current section

Files

Jump to
grpc_client lib connection response.ex
Raw

lib/connection/response.ex

defmodule GrpcClient.Connection.Response do
@moduledoc false
# a slim data structure for storing information about an HTTP/2 response
@type t :: %{
status: number(),
type: any(),
headers: Mint.Types.headers(),
data: binary()
}
defstruct [:status, :type, headers: [], data: <<>>]
end