package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Protocols : sig ... end
type t = {
  1. protocols : Protocols.t;
    (*

    Supported upload protocols.

    *)
  2. accept : string list;
    (*

    MIME Media Ranges for acceptable media uploads to this method.

    *)
  3. maxSize : string;
    (*

    Maximum size of a media upload, such as "1MB", "2GB" or "3TB".

    *)
}
val protocols : (t, Protocols.t) GapiLens.t
val accept : (t, string list) GapiLens.t
val maxSize : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.