Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Cohttp.TransferRead and write the HTTP/1.1 transfer-encoding formats. Currently supported are chunked and content-length.
val sexp_of_encoding : encoding -> Ppx_sexp_conv_lib.Sexp.tval encoding_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> encodingval sexp_of_chunk : chunk -> Ppx_sexp_conv_lib.Sexp.tval chunk_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> chunkval string_of_encoding : encoding -> stringConvert the encoding format to a human-readable string
val has_body : encoding -> [ `No | `Unknown | `Yes ]has_body encoding returns the appropriate variant that indicates whether the HTTP request or response has an associated body. It does not guess: instead Unknown is returned if there is no explicit association.