package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. data : string;
    (*

    Image data base64 encoded.

    *)
  2. height : int;
    (*

    Height of screenshot in pixels.

    *)
  3. mime_type : string;
    (*

    Mime type of image data. E.g. "image/jpeg".

    *)
  4. width : int;
    (*

    Width of screenshot in pixels.

    *)
}
val data : (t, string) GapiLens.t
val height : (t, int) GapiLens.t
val mime_type : (t, string) GapiLens.t
val width : (t, int) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t