package gapi-ocaml

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

    Number of uncompressed response bytes for CSS resources on the page.

    *)
  2. flashResponseBytes : int64;
    (*

    Number of response bytes for flash resources on the page.

    *)
  3. htmlResponseBytes : int64;
    (*

    Number of uncompressed response bytes for the main HTML document and all iframes on the page.

    *)
  4. imageResponseBytes : int64;
    (*

    Number of response bytes for image resources on the page.

    *)
  5. javascriptResponseBytes : int64;
    (*

    Number of uncompressed response bytes for JS resources on the page.

    *)
  6. numberCssResources : int;
    (*

    Number of CSS resources referenced by the page.

    *)
  7. numberHosts : int;
    (*

    Number of unique hosts referenced by the page.

    *)
  8. numberJsResources : int;
    (*

    Number of JavaScript resources referenced by the page.

    *)
  9. numberResources : int;
    (*

    Number of HTTP resources loaded by the page.

    *)
  10. numberStaticResources : int;
    (*

    Number of static (i.e. cacheable) resources on the page.

    *)
  11. otherResponseBytes : int64;
    (*

    Number of response bytes for other resources on the page.

    *)
  12. textResponseBytes : int64;
    (*

    Number of uncompressed response bytes for text resources not covered by other statistics (i.e non-HTML, non-script, non-CSS resources) on the page.

    *)
  13. totalRequestBytes : int64;
    (*

    Total size of all request bytes sent by the page.

    *)
}
val cssResponseBytes : (t, int64) GapiLens.t
val flashResponseBytes : (t, int64) GapiLens.t
val htmlResponseBytes : (t, int64) GapiLens.t
val imageResponseBytes : (t, int64) GapiLens.t
val javascriptResponseBytes : (t, int64) GapiLens.t
val numberCssResources : (t, int) GapiLens.t
val numberHosts : (t, int) GapiLens.t
val numberJsResources : (t, int) GapiLens.t
val numberResources : (t, int) GapiLens.t
val numberStaticResources : (t, int) GapiLens.t
val otherResponseBytes : (t, int64) GapiLens.t
val textResponseBytes : (t, int64) GapiLens.t
val totalRequestBytes : (t, int64) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t