Module Fetch.Body

type t
val toString : t -> string

Takes a Body.t and returns a string.

Examples

Fetch.Body.toString(body) == string
val ofString : string -> t

Takes a string and returns Body.t.

Examples

Fetch.Body.ofString("Some, body") == Body.t