module Result:sig..end
module Version:sig..end
module Screenshot:sig..end
module PageStats:sig..end
module FormattedResults:sig..end
type t = {
|
formattedResults : |
(* |
Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed rule instantiated and run by the server.
| *) |
|
id : |
(* |
Canonicalized and final URL for the document, after following page redirects (if any).
| *) |
|
invalidRules : |
(* |
List of rules that were specified in the request, but which the server did not know how to instantiate.
| *) |
|
kind : |
(* |
Kind of result.
| *) |
|
pageStats : |
(* |
Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.
| *) |
|
responseCode : |
(* |
Response code for the document. 200 indicates a normal page load. 4xx/5xx indicates an error.
| *) |
|
score : |
(* |
The PageSpeed Score (0-100), which indicates how much faster a page could be. A high score indicates little room for improvement, while a lower score indicates more room for improvement.
| *) |
|
screenshot : |
(* |
Base64-encoded screenshot of the page that was analyzed.
| *) |
|
title : |
(* |
Title of the page, as displayed in the browser's title bar.
| *) |
|
version : |
(* |
The version of PageSpeed used to generate these results.
| *) |
val formattedResults : (t,
FormattedResults.t)
GapiLens.t
val id : (t, string) GapiLens.t
val invalidRules : (t, string list) GapiLens.t
val kind : (t, string) GapiLens.t
val pageStats : (t,
PageStats.t)
GapiLens.t
val responseCode : (t, int) GapiLens.t
val score : (t, int) GapiLens.t
val screenshot : (t,
Screenshot.t)
GapiLens.t
val title : (t, string) GapiLens.t
val version : (t,
Version.t)
GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t ->
GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t