HtmlrenderWebkitHeadlessProtoRedirectEvent

GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRedirectEvent


Table of Contents ▼

Jump to a specific part of the page:

Description

A redirect event represents a change in the resource URL for a document. This includes HTTP redirects, as well things which trigger client navigations such as script changing window.location, tags, HTTP Refresh headers, etc.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. httpMethod (type: String.t, default: nil)
    - The HTTP method of the request for the redirect target.
  2. httpStatusCode (type: integer(), default: nil)
    - For HTTP redirects, the HTTP status code returned in the initial HTTP response.
  3. refreshType (type: String.t, default: nil)
    -
  4. targetContentDownloaded (type: boolean(), default: nil)
    - True if the redirect led to a download instead of loading a new page. Note that such redirects can appear anywhere in the list of redirect events.
  5. targetUrl (type: String.t, default: nil)
    -
  6. type (type: String.t, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRedirectEvent{
httpMethod: String.t() | nil,
httpStatusCode: integer() | nil,
refreshType: String.t() | nil,
targetContentDownloaded: boolean() | nil,
targetUrl: String.t() | nil,
type: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRedirectEvent