package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Strategy : sig ... end
val runpagespeed : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?filter_third_party_resources:bool -> ?screenshot:bool -> ?locale:string -> ?rule:string list -> ?strategy:Strategy.t -> url:string -> GapiConversation.Session.t -> GapiPagespeedonlineV1Model.Result.t * GapiConversation.Session.t

Runs PageSpeed analysis on the page at the specified URL, and returns a PageSpeed score, a list of suggestions to make that page faster, and other information.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/pagespeedonline/v1/").

  • parameter std_params

    Optional standard parameters.

  • parameter filter_third_party_resources

    Indicates if third party resources should be filtered out before PageSpeed analysis.

  • parameter screenshot

    Indicates if binary data containing a screenshot should be included

  • parameter locale

    The locale used to localize formatted results

  • parameter rule

    A PageSpeed rule to run; if none are given, all rules are run

  • parameter strategy

    The analysis strategy to use

  • parameter url

    The URL to fetch and analyze

OCaml

Innovation. Community. Security.