From 2f2ce8ca0657846046f9e29b6c05a73750042ef0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 10 Aug 2025 04:03:26 +0000 Subject: [PATCH 1/2] GH Pages: update API docs for Requests 939/merge --- .../classes/WpOrg-Requests-Auth-Basic.html | 58 +- api-2.x/classes/WpOrg-Requests-Auth.html | 16 +- api-2.x/classes/WpOrg-Requests-Autoload.html | 76 +- .../classes/WpOrg-Requests-Capability.html | 31 +- .../classes/WpOrg-Requests-Cookie-Jar.html | 46 +- api-2.x/classes/WpOrg-Requests-Cookie.html | 106 +- ...pOrg-Requests-Exception-ArgumentCount.html | 42 +- ...Org-Requests-Exception-Http-Status304.html | 70 +- ...Org-Requests-Exception-Http-Status305.html | 70 +- ...Org-Requests-Exception-Http-Status306.html | 70 +- ...Org-Requests-Exception-Http-Status400.html | 70 +- ...Org-Requests-Exception-Http-Status401.html | 70 +- ...Org-Requests-Exception-Http-Status402.html | 70 +- ...Org-Requests-Exception-Http-Status403.html | 70 +- ...Org-Requests-Exception-Http-Status404.html | 70 +- ...Org-Requests-Exception-Http-Status405.html | 70 +- ...Org-Requests-Exception-Http-Status406.html | 70 +- ...Org-Requests-Exception-Http-Status407.html | 70 +- ...Org-Requests-Exception-Http-Status408.html | 70 +- ...Org-Requests-Exception-Http-Status409.html | 70 +- ...Org-Requests-Exception-Http-Status410.html | 70 +- ...Org-Requests-Exception-Http-Status411.html | 70 +- ...Org-Requests-Exception-Http-Status412.html | 70 +- ...Org-Requests-Exception-Http-Status413.html | 70 +- ...Org-Requests-Exception-Http-Status414.html | 70 +- ...Org-Requests-Exception-Http-Status415.html | 70 +- ...Org-Requests-Exception-Http-Status416.html | 70 +- ...Org-Requests-Exception-Http-Status417.html | 70 +- ...Org-Requests-Exception-Http-Status418.html | 70 +- ...Org-Requests-Exception-Http-Status421.html | 837 ++++ ...Org-Requests-Exception-Http-Status422.html | 837 ++++ ...Org-Requests-Exception-Http-Status423.html | 837 ++++ ...Org-Requests-Exception-Http-Status424.html | 837 ++++ ...Org-Requests-Exception-Http-Status425.html | 837 ++++ ...Org-Requests-Exception-Http-Status426.html | 837 ++++ ...Org-Requests-Exception-Http-Status428.html | 70 +- ...Org-Requests-Exception-Http-Status429.html | 70 +- ...Org-Requests-Exception-Http-Status431.html | 70 +- ...Org-Requests-Exception-Http-Status451.html | 837 ++++ ...Org-Requests-Exception-Http-Status500.html | 70 +- ...Org-Requests-Exception-Http-Status501.html | 70 +- ...Org-Requests-Exception-Http-Status502.html | 70 +- ...Org-Requests-Exception-Http-Status503.html | 70 +- ...Org-Requests-Exception-Http-Status504.html | 70 +- ...Org-Requests-Exception-Http-Status505.html | 70 +- ...Org-Requests-Exception-Http-Status506.html | 837 ++++ ...Org-Requests-Exception-Http-Status507.html | 837 ++++ ...Org-Requests-Exception-Http-Status508.html | 837 ++++ ...Org-Requests-Exception-Http-Status510.html | 837 ++++ ...Org-Requests-Exception-Http-Status511.html | 70 +- ...Requests-Exception-Http-StatusUnknown.html | 68 +- .../WpOrg-Requests-Exception-Http.html | 68 +- ...rg-Requests-Exception-InvalidArgument.html | 14 +- ...Org-Requests-Exception-Transport-Curl.html | 72 +- .../WpOrg-Requests-Exception-Transport.html | 40 +- api-2.x/classes/WpOrg-Requests-Exception.html | 40 +- .../classes/WpOrg-Requests-HookManager.html | 16 +- api-2.x/classes/WpOrg-Requests-Hooks.html | 28 +- .../classes/WpOrg-Requests-IdnaEncoder.html | 51 +- api-2.x/classes/WpOrg-Requests-Ipv6.html | 22 +- api-2.x/classes/WpOrg-Requests-Iri.html | 555 +-- api-2.x/classes/WpOrg-Requests-Port.html | 26 +- .../classes/WpOrg-Requests-Proxy-Http.html | 74 +- api-2.x/classes/WpOrg-Requests-Proxy.html | 16 +- api-2.x/classes/WpOrg-Requests-Requests.html | 220 +- .../WpOrg-Requests-Response-Headers.html | 42 +- api-2.x/classes/WpOrg-Requests-Response.html | 114 +- api-2.x/classes/WpOrg-Requests-Session.html | 92 +- api-2.x/classes/WpOrg-Requests-Ssl.html | 32 +- .../WpOrg-Requests-Transport-Curl.html | 88 +- .../WpOrg-Requests-Transport-Fsockopen.html | 52 +- api-2.x/classes/WpOrg-Requests-Transport.html | 18 +- ...sts-Utility-CaseInsensitiveDictionary.html | 38 +- ...Org-Requests-Utility-FilteredIterator.html | 73 +- .../WpOrg-Requests-Utility-HttpStatus.html | 4255 +++++++++++++++++ ...WpOrg-Requests-Utility-InputValidator.html | 123 +- api-2.x/css/template.css | 1 + api-2.x/files/src-auth-basic.html | 51 +- api-2.x/files/src-auth.html | 51 +- api-2.x/files/src-autoload.html | 51 +- api-2.x/files/src-capability.html | 51 +- api-2.x/files/src-cookie-jar.html | 51 +- api-2.x/files/src-cookie.html | 51 +- .../files/src-exception-argumentcount.html | 50 +- .../files/src-exception-http-status304.html | 51 +- .../files/src-exception-http-status305.html | 51 +- .../files/src-exception-http-status306.html | 51 +- .../files/src-exception-http-status400.html | 51 +- .../files/src-exception-http-status401.html | 51 +- .../files/src-exception-http-status402.html | 51 +- .../files/src-exception-http-status403.html | 51 +- .../files/src-exception-http-status404.html | 51 +- .../files/src-exception-http-status405.html | 51 +- .../files/src-exception-http-status406.html | 51 +- .../files/src-exception-http-status407.html | 51 +- .../files/src-exception-http-status408.html | 51 +- .../files/src-exception-http-status409.html | 51 +- .../files/src-exception-http-status410.html | 51 +- .../files/src-exception-http-status411.html | 51 +- .../files/src-exception-http-status412.html | 51 +- .../files/src-exception-http-status413.html | 51 +- .../files/src-exception-http-status414.html | 51 +- .../files/src-exception-http-status415.html | 51 +- .../files/src-exception-http-status416.html | 51 +- .../files/src-exception-http-status417.html | 51 +- .../files/src-exception-http-status418.html | 43 +- .../files/src-exception-http-status421.html | 344 ++ .../files/src-exception-http-status422.html | 344 ++ .../files/src-exception-http-status423.html | 344 ++ .../files/src-exception-http-status424.html | 344 ++ .../files/src-exception-http-status425.html | 344 ++ .../files/src-exception-http-status426.html | 344 ++ .../files/src-exception-http-status428.html | 43 +- .../files/src-exception-http-status429.html | 43 +- .../files/src-exception-http-status431.html | 43 +- .../files/src-exception-http-status451.html | 344 ++ .../files/src-exception-http-status500.html | 51 +- .../files/src-exception-http-status501.html | 51 +- .../files/src-exception-http-status502.html | 51 +- .../files/src-exception-http-status503.html | 51 +- .../files/src-exception-http-status504.html | 51 +- .../files/src-exception-http-status505.html | 51 +- .../files/src-exception-http-status506.html | 344 ++ .../files/src-exception-http-status507.html | 344 ++ .../files/src-exception-http-status508.html | 344 ++ .../files/src-exception-http-status510.html | 344 ++ .../files/src-exception-http-status511.html | 43 +- .../src-exception-http-statusunknown.html | 51 +- api-2.x/files/src-exception-http.html | 51 +- .../files/src-exception-invalidargument.html | 50 +- .../files/src-exception-transport-curl.html | 51 +- api-2.x/files/src-exception-transport.html | 51 +- api-2.x/files/src-exception.html | 51 +- api-2.x/files/src-hookmanager.html | 51 +- api-2.x/files/src-hooks.html | 51 +- api-2.x/files/src-idnaencoder.html | 50 +- api-2.x/files/src-ipv6.html | 51 +- api-2.x/files/src-iri.html | 51 +- api-2.x/files/src-port.html | 48 +- api-2.x/files/src-proxy-http.html | 46 +- api-2.x/files/src-proxy.html | 46 +- api-2.x/files/src-requests.html | 52 +- api-2.x/files/src-response-headers.html | 51 +- api-2.x/files/src-response.html | 51 +- api-2.x/files/src-session.html | 51 +- api-2.x/files/src-ssl.html | 51 +- api-2.x/files/src-transport-curl.html | 53 +- api-2.x/files/src-transport-fsockopen.html | 51 +- api-2.x/files/src-transport.html | 51 +- ...src-utility-caseinsensitivedictionary.html | 51 +- .../files/src-utility-filterediterator.html | 51 +- api-2.x/files/src-utility-httpstatus.html | 344 ++ api-2.x/files/src-utility-inputvalidator.html | 51 +- api-2.x/graphs/classes.html | 8 +- api-2.x/index.html | 14 +- api-2.x/indices/files.html | 20 +- api-2.x/js/searchIndex.js | 529 +- api-2.x/namespaces/default.html | 14 +- api-2.x/namespaces/wporg-requests-auth.html | 10 +- api-2.x/namespaces/wporg-requests-cookie.html | 10 +- .../wporg-requests-exception-http.html | 12 +- .../wporg-requests-exception-transport.html | 10 +- .../namespaces/wporg-requests-exception.html | 10 +- api-2.x/namespaces/wporg-requests-proxy.html | 10 +- .../namespaces/wporg-requests-response.html | 10 +- .../namespaces/wporg-requests-transport.html | 12 +- .../namespaces/wporg-requests-utility.html | 12 +- api-2.x/namespaces/wporg-requests.html | 12 +- api-2.x/namespaces/wporg.html | 10 +- api-2.x/packages/Application.html | 108 +- api-2.x/packages/Requests-Authentication.html | 10 +- api-2.x/packages/Requests-Cookies.html | 10 +- .../packages/Requests-EventDispatcher.html | 10 +- api-2.x/packages/Requests-Exceptions.html | 12 +- api-2.x/packages/Requests-Proxy.html | 10 +- api-2.x/packages/Requests-SessionHandler.html | 10 +- api-2.x/packages/Requests-Transport.html | 12 +- api-2.x/packages/Requests-Utilities.html | 12 +- api-2.x/packages/Requests.html | 108 +- api-2.x/packages/default.html | 12 +- api-2.x/reports/deprecated.html | 36 +- api-2.x/reports/errors.html | 10 +- api-2.x/reports/markers.html | 10 +- 183 files changed, 23416 insertions(+), 3056 deletions(-) create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status421.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status422.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status423.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status424.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status425.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status426.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status451.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status506.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status507.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status508.html create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status510.html create mode 100644 api-2.x/classes/WpOrg-Requests-Utility-HttpStatus.html create mode 100644 api-2.x/files/src-exception-http-status421.html create mode 100644 api-2.x/files/src-exception-http-status422.html create mode 100644 api-2.x/files/src-exception-http-status423.html create mode 100644 api-2.x/files/src-exception-http-status424.html create mode 100644 api-2.x/files/src-exception-http-status425.html create mode 100644 api-2.x/files/src-exception-http-status426.html create mode 100644 api-2.x/files/src-exception-http-status451.html create mode 100644 api-2.x/files/src-exception-http-status506.html create mode 100644 api-2.x/files/src-exception-http-status507.html create mode 100644 api-2.x/files/src-exception-http-status508.html create mode 100644 api-2.x/files/src-exception-http-status510.html create mode 100644 api-2.x/files/src-utility-httpstatus.html diff --git a/api-2.x/classes/WpOrg-Requests-Auth-Basic.html b/api-2.x/classes/WpOrg-Requests-Auth-Basic.html index edb709d5c..0f59badba 100644 --- a/api-2.x/classes/WpOrg-Requests-Auth-Basic.html +++ b/api-2.x/classes/WpOrg-Requests-Auth-Basic.html @@ -69,6 +69,10 @@

Packages

+

+ Application +

+

Requests

@@ -107,10 +111,6 @@

-

- Application -

-
@@ -161,7 +161,7 @@

@@ -239,14 +239,14 @@

 : mixed -
Set cURL parameters before the data is sent
+
Set cURL parameters before the data is sent.
fsockopen_header()  : mixed
-
Add extra headers to the request before sending
+
Add extra headers to the request before sending.
getAuthString() @@ -280,19 +280,19 @@

phpdocumentor-element -property -public - " + " >

$pass - +

@@ -300,8 +300,8 @@

- public - string + public + string $pass @@ -311,25 +311,27 @@

+ +

$user - +

@@ -337,8 +339,8 @@

- public - string + public + string $user @@ -348,6 +350,8 @@

+ +

@@ -371,7 +375,7 @@

@@ -465,11 +469,11 @@

-

Set cURL parameters before the data is sent

+

Set cURL parameters before the data is sent.

public @@ -486,7 +490,7 @@
Parameters
: resource|CurlHandle
-

cURL handle

+

The cURL handle.

@@ -512,11 +516,11 @@

-

Add extra headers to the request before sending

+

Add extra headers to the request before sending.

public @@ -533,7 +537,7 @@
Parameters
: string
-

HTTP header string

+

HTTP header string.

@@ -559,7 +563,7 @@

@@ -598,7 +602,7 @@

@@ -692,6 +696,8 @@

if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Auth.html b/api-2.x/classes/WpOrg-Requests-Auth.html index a67d7ec09..4a474c5a7 100644 --- a/api-2.x/classes/WpOrg-Requests-Auth.html +++ b/api-2.x/classes/WpOrg-Requests-Auth.html @@ -69,6 +69,10 @@

Packages

+

+ Application +

+

Requests

@@ -107,10 +111,6 @@

-

- Application -

-
@@ -148,7 +148,7 @@

@@ -175,7 +175,7 @@

- + @@ -236,7 +236,7 @@

@@ -326,6 +326,8 @@

if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Autoload.html b/api-2.x/classes/WpOrg-Requests-Autoload.html index f57fb0b95..273262ced 100644 --- a/api-2.x/classes/WpOrg-Requests-Autoload.html +++ b/api-2.x/classes/WpOrg-Requests-Autoload.html @@ -69,6 +69,10 @@

Packages

+

+ Application +

+

Requests

@@ -107,10 +111,6 @@

-

- Application -

-
@@ -158,7 +158,7 @@

@@ -171,6 +171,21 @@

+

+ Tags + + +
+
+
+ since +
+
+ 2.0.0 + + +
+
@@ -197,6 +212,13 @@

+
+ get_deprecated_classes() + +  : array<string|int, mixed> +
+
Get the array of deprecated Requests 1.x classes mapped to their equivalent Requests 2.x implementation.
+
load() @@ -223,6 +245,45 @@

-method -public -static " +> +

+ get_deprecated_classes() + + +

+ + +

Get the array of deprecated Requests 1.x classes mapped to their equivalent Requests 2.x implementation.

+ + + public + static get_deprecated_classes() : array<string|int, mixed> + +
+
+ + + + + + + +
+
Return values
+ array<string|int, mixed> +
+ + +

load() @@ -232,7 +293,7 @@

@@ -311,6 +372,8 @@

Return values
if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } @@ -386,6 +449,7 @@
Return values
  • Methods
  • diff --git a/api-2.x/classes/WpOrg-Requests-Capability.html b/api-2.x/classes/WpOrg-Requests-Capability.html index 1750081f0..2c947c519 100644 --- a/api-2.x/classes/WpOrg-Requests-Capability.html +++ b/api-2.x/classes/WpOrg-Requests-Capability.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -148,7 +148,7 @@

    @@ -159,6 +159,21 @@

    +

    + Tags + + +
    +
    +
    + since +
    +
    + 2.0.0 + + +
    +
    @@ -221,7 +236,7 @@

    @@ -255,7 +270,7 @@

    @@ -316,6 +331,8 @@

    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Cookie-Jar.html b/api-2.x/classes/WpOrg-Requests-Cookie-Jar.html index 77c7a32f1..d871e01b9 100644 --- a/api-2.x/classes/WpOrg-Requests-Cookie-Jar.html +++ b/api-2.x/classes/WpOrg-Requests-Cookie-Jar.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -161,7 +161,7 @@

    @@ -305,19 +305,19 @@

    phpdocumentor-element -property -protected - " + " >

    $cookies - +

    @@ -325,8 +325,8 @@

    - protected - array<string|int, mixed> + protected + array<string|int, mixed> $cookies = [] @@ -336,6 +336,8 @@

    + +

    @@ -359,7 +361,7 @@

    @@ -423,7 +425,7 @@

    @@ -470,7 +472,7 @@

    @@ -545,7 +547,7 @@

    @@ -595,7 +597,7 @@

    @@ -721,7 +723,7 @@

    @@ -787,7 +789,7 @@

    @@ -836,7 +838,7 @@

    Exception -

    On attempting to use dictionary as list (invalidset)

    +

    On attempting to use dictionary as list (invalidset).

    @@ -871,7 +873,7 @@

    @@ -929,7 +931,7 @@

    @@ -1000,6 +1002,8 @@

    Parameters
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Cookie.html b/api-2.x/classes/WpOrg-Requests-Cookie.html index e0e68273d..418fb2065 100644 --- a/api-2.x/classes/WpOrg-Requests-Cookie.html +++ b/api-2.x/classes/WpOrg-Requests-Cookie.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -157,7 +157,7 @@

    @@ -336,19 +336,19 @@

    phpdocumentor-element -property -public - " + " >

    $attributes - +

    @@ -356,8 +356,8 @@

    - public - CaseInsensitiveDictionary|array<string|int, mixed> + public + CaseInsensitiveDictionary|array<string|int, mixed> $attributes = [] @@ -372,25 +372,27 @@

    + +

    $flags - +

    @@ -398,8 +400,8 @@

    - public - array<string|int, mixed> + public + array<string|int, mixed> $flags = [] @@ -411,25 +413,27 @@

    + +

    $name - +

    @@ -437,8 +441,8 @@

    - public - string + public + string $name @@ -448,25 +452,27 @@

    + +

    $reference_time - +

    @@ -474,8 +480,8 @@

    - public - int + public + int $reference_time = 0 @@ -488,25 +494,27 @@

    + +

    $value - +

    @@ -514,8 +522,8 @@

    - public - string + public + string $value @@ -525,6 +533,8 @@

    + +

    @@ -548,7 +558,7 @@

    @@ -556,7 +566,7 @@

    public - __construct(string $name, string $value[, array<string|int, mixed>|CaseInsensitiveDictionary $attributes = [] ][, array<string|int, mixed> $flags = [] ][, int|null $reference_time = null ]) : mixed + __construct(int|string $name, string $value[, array<string|int, mixed>|CaseInsensitiveDictionary $attributes = [] ][, array<string|int, mixed> $flags = [] ][, int|null $reference_time = null ]) : mixed
    @@ -566,7 +576,7 @@

    Parameters
    $name - : string + : int|string

    The name of the cookie.

    @@ -626,7 +636,7 @@
    InvalidArgument -

    When the passed $name argument is not a string.

    +

    When the passed $name argument is not an integer or string that conforms to RFC 2616.

    @@ -690,7 +700,7 @@

    @@ -727,7 +737,7 @@

    @@ -782,7 +792,7 @@

    @@ -827,7 +837,7 @@

    @@ -919,7 +929,7 @@

    @@ -962,7 +972,7 @@

    @@ -970,7 +980,7 @@

    public - static parse(string $cookie_header[, string $name = '' ][, int|null $reference_time = null ]) : Cookie + static parse(int|string $cookie_header[, string $name = '' ][, int|null $reference_time = null ]) : Cookie
    @@ -984,7 +994,7 @@

    Parameters
    $cookie_header - : string + : int|string

    Cookie header value (from a Set-Cookie header)

    @@ -1062,7 +1072,7 @@

    @@ -1148,7 +1158,7 @@

    @@ -1205,7 +1215,7 @@

    @@ -1260,7 +1270,7 @@

    @@ -1350,6 +1360,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-ArgumentCount.html b/api-2.x/classes/WpOrg-Requests-Exception-ArgumentCount.html index dc4b07c11..73bf1fb21 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-ArgumentCount.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-ArgumentCount.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -163,7 +163,7 @@

    @@ -286,19 +286,19 @@

    phpdocumentor-element -property -protected - " + " >

    $data - +

    @@ -306,8 +306,8 @@

    - protected - mixed + protected + mixed $data @@ -317,25 +317,27 @@

    + +

    $type - +

    @@ -343,8 +345,8 @@

    - protected - string + protected + string $type @@ -354,6 +356,8 @@

    + +

    @@ -377,7 +381,7 @@

    @@ -451,7 +455,7 @@

    @@ -556,7 +560,7 @@

    @@ -619,6 +623,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status304.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status304.html index 428ba2f6c..8fe1fab4f 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status304.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status304.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 304 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Not Modified' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_304 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status305.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status305.html index 53074058a..739f1eb1c 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status305.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status305.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 305 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Use Proxy' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_305 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status306.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status306.html index 7e6a0a1bf..ef8eb2c7d 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status306.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status306.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 306 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Switch Proxy' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_306 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status400.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status400.html index 964b00f41..3f12564f2 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status400.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status400.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 400 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Bad Request' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_400 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status401.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status401.html index 30eb446d4..3fa90dfcf 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status401.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status401.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 401 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Unauthorized' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_401 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status402.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status402.html index d0b106d1a..635b7b2c0 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status402.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status402.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 402 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Payment Required' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_402 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status403.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status403.html index 30ee95a26..879b188d3 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status403.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status403.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 403 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Forbidden' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_403 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status404.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status404.html index eb600c701..64afa71f6 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status404.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status404.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 404 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Not Found' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_404 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status405.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status405.html index 0e9e1ad84..f88460bb8 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status405.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status405.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 405 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Method Not Allowed' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_405 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status406.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status406.html index 0409bad49..e7a36c8f3 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status406.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status406.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 406 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Not Acceptable' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_406 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status407.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status407.html index 8b9f5a7e5..9f54ae7e6 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status407.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status407.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 407 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Proxy Authentication Required' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_407 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status408.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status408.html index fc341cbbe..24d769f01 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status408.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status408.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 408 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Request Timeout' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_408 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status409.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status409.html index 1142a2b94..056e4d169 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status409.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status409.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 409 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Conflict' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_409 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status410.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status410.html index 74e5d6b8f..6fa58aa91 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status410.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status410.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 410 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Gone' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_410 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status411.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status411.html index 3d4996b32..0317bd826 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status411.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status411.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 411 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Length Required' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_411 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status412.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status412.html index 56931c62e..0a569ca25 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status412.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status412.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 412 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Precondition Failed' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_412 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status413.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status413.html index e261e4c8f..8be5a3ea6 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status413.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status413.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 413 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Request Entity Too Large' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_413 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status414.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status414.html index b39a93584..c2a4dd126 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status414.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status414.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 414 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Request-URI Too Large' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_414 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status415.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status415.html index 94eb57b9c..1eeb848e1 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status415.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status415.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 415 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Unsupported Media Type' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_415 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status416.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status416.html index 1fc039bb4..c53de602f 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status416.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status416.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 416 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Requested Range Not Satisfiable' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_416 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status417.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status417.html index 27df42685..92d36e7ff 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status417.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status417.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -287,19 +287,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -307,8 +307,8 @@

    - protected - int + protected + int $code = 417 @@ -318,25 +318,27 @@

    + +

    $data - +

    @@ -344,8 +346,8 @@

    - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

    + +

    $reason - +

    @@ -381,10 +385,10 @@

    - protected - string + protected + string $reason - = 'Expectation Failed' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_417 @@ -392,25 +396,27 @@

    + +

    $type - +

    @@ -418,8 +424,8 @@

    - protected - string + protected + string $type @@ -429,6 +435,8 @@

    + +

    @@ -452,7 +460,7 @@

    @@ -511,7 +519,7 @@

    @@ -601,7 +609,7 @@

    @@ -640,7 +648,7 @@

    @@ -703,6 +711,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status418.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status418.html index 0900816d1..6d222bfe4 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status418.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status418.html @@ -69,6 +69,10 @@

    Packages

    +

    + Application +

    +

    Requests

    @@ -107,10 +111,6 @@

    -

    - Application -

    -
    @@ -164,7 +164,7 @@

    @@ -301,19 +301,19 @@

    phpdocumentor-element -property -protected - " + " >

    $code - +

    @@ -321,8 +321,8 @@

    - protected - int + protected + int $code = 418 @@ -332,25 +332,27 @@

    + +

    $data - +

    @@ -358,8 +360,8 @@

    - protected - mixed + protected + mixed $data @@ -369,25 +371,27 @@

    + +

    $reason - +

    @@ -395,10 +399,10 @@

    - protected - string + protected + string $reason - = "I'm A Teapot" + = \WpOrg\Requests\Utility\HttpStatus::TEXT_418 @@ -406,25 +410,27 @@

    + +

    $type - +

    @@ -432,8 +438,8 @@

    - protected - string + protected + string $type @@ -443,6 +449,8 @@

    + +

    @@ -466,7 +474,7 @@

    @@ -525,7 +533,7 @@

    @@ -615,7 +623,7 @@

    @@ -654,7 +662,7 @@

    @@ -717,6 +725,8 @@

    Return values
    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status421.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status421.html new file mode 100644 index 000000000..dd74bfc10 --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status421.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
    +

    Requests 2.0.15 API

    + + + + + +
    + +
    +
    + + + + +
    +
    + + +
    +

    + Status421 + + + extends Http + + +
    + in package + +
    + + +

    + +
    + +
    FinalYes
    + + +
    + + + +

    Exception for 421 Misdirected Request responses

    + + + + + + + + + +

    + Table of Contents + + +

    + + + + + + + + + +

    + Properties + + +

    +
    +
    + $code + +  : int +
    +
    HTTP status code
    + +
    + $data + +  : mixed +
    +
    Data associated with the exception
    + +
    + $reason + +  : string +
    +
    Reason phrase
    + +
    + $type + +  : string +
    +
    Type of exception
    + +
    + +

    + Methods + + +

    +
    +
    + __construct() + +  : mixed +
    +
    Create a new exception
    + +
    + get_class() + +  : string +
    +
    Get the correct exception class for a given error code
    + +
    + getData() + +  : mixed +
    +
    Gives any relevant data
    + +
    + getReason() + +  : string +
    +
    Get the status message.
    + +
    + getType() + +  : string +
    +
    Like {@see \Exception::getCode()}, but a string code.
    + +
    + + + + + + +
    +

    + Properties + + +

    +
    +

    + $code + + + + +

    + + +

    HTTP status code

    + + + + protected + int + $code + = 421 + + + + + + + + + +
    +
    +

    + $data + + + + +

    + + +

    Data associated with the exception

    + + + + protected + mixed + $data + + + + + + + + + + +
    +
    +

    + $reason + + + + +

    + + +

    Reason phrase

    + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_421 + + + + + + + + + +
    +
    +

    + $type + + + + +

    + + +

    Type of exception

    + + + + protected + string + $type + + + + + + + + + + +
    +
    + +
    +

    + Methods + + +

    +
    +

    + __construct() + + +

    + + +

    Create a new exception

    + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
    +
    + +

    There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

    +
    + +
    Parameters
    +
    +
    + $reason + : string|null + = null
    +
    +

    Reason phrase

    +
    + +
    +
    + $data + : mixed + = null
    +
    +

    Associated data

    +
    + +
    +
    + + + + + + +
    +
    +

    + get_class() + + +

    + + +

    Get the correct exception class for a given error code

    + + + public + static get_class(int|bool $code) : string + +
    +
    + + +
    Parameters
    +
    +
    + $code + : int|bool +
    +
    +

    HTTP status code, or false if unavailable

    +
    + +
    +
    + + + + + +
    +
    Return values
    + string + — +

    Exception class name to use

    +
    + +
    + +
    +
    +

    + getData() + + +

    + + +

    Gives any relevant data

    + + + public + getData() : mixed + +
    +
    + + + + + + + + +
    +
    +

    + getReason() + + +

    + + +

    Get the status message.

    + + + public + getReason() : string + +
    +
    + + + + + + + +
    +
    Return values
    + string +
    + +
    +
    +

    + getType() + + +

    + + +

    Like {@see \Exception::getCode()}, but a string code.

    + + + public + getType() : string + +
    +
    + + + + + + + +
    +
    Return values
    + string +
    + +
    +
    + +
    +
    +
    +
    +
    
    +        
    + +
    +
    + + + +
    +
    +
    + +
    + On this page + + +
    + +
    +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      + + +
      + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status422.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status422.html new file mode 100644 index 000000000..04d85fbd2 --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status422.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
      +

      Requests 2.0.15 API

      + + + + + +
      + +
      +
      + + + + +
      +
      + + +
      +

      + Status422 + + + extends Http + + +
      + in package + +
      + + +

      + +
      + +
      FinalYes
      + + +
      + + + +

      Exception for 422 Unprocessable Content responses

      + + + + + + + + + +

      + Table of Contents + + +

      + + + + + + + + + +

      + Properties + + +

      +
      +
      + $code + +  : int +
      +
      HTTP status code
      + +
      + $data + +  : mixed +
      +
      Data associated with the exception
      + +
      + $reason + +  : string +
      +
      Reason phrase
      + +
      + $type + +  : string +
      +
      Type of exception
      + +
      + +

      + Methods + + +

      +
      +
      + __construct() + +  : mixed +
      +
      Create a new exception
      + +
      + get_class() + +  : string +
      +
      Get the correct exception class for a given error code
      + +
      + getData() + +  : mixed +
      +
      Gives any relevant data
      + +
      + getReason() + +  : string +
      +
      Get the status message.
      + +
      + getType() + +  : string +
      +
      Like {@see \Exception::getCode()}, but a string code.
      + +
      + + + + + + +
      +

      + Properties + + +

      +
      +

      + $code + + + + +

      + + +

      HTTP status code

      + + + + protected + int + $code + = 422 + + + + + + + + + +
      +
      +

      + $data + + + + +

      + + +

      Data associated with the exception

      + + + + protected + mixed + $data + + + + + + + + + + +
      +
      +

      + $reason + + + + +

      + + +

      Reason phrase

      + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_422 + + + + + + + + + +
      +
      +

      + $type + + + + +

      + + +

      Type of exception

      + + + + protected + string + $type + + + + + + + + + + +
      +
      + +
      +

      + Methods + + +

      +
      +

      + __construct() + + +

      + + +

      Create a new exception

      + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
      +
      + +

      There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

      +
      + +
      Parameters
      +
      +
      + $reason + : string|null + = null
      +
      +

      Reason phrase

      +
      + +
      +
      + $data + : mixed + = null
      +
      +

      Associated data

      +
      + +
      +
      + + + + + + +
      +
      +

      + get_class() + + +

      + + +

      Get the correct exception class for a given error code

      + + + public + static get_class(int|bool $code) : string + +
      +
      + + +
      Parameters
      +
      +
      + $code + : int|bool +
      +
      +

      HTTP status code, or false if unavailable

      +
      + +
      +
      + + + + + +
      +
      Return values
      + string + — +

      Exception class name to use

      +
      + +
      + +
      +
      +

      + getData() + + +

      + + +

      Gives any relevant data

      + + + public + getData() : mixed + +
      +
      + + + + + + + + +
      +
      +

      + getReason() + + +

      + + +

      Get the status message.

      + + + public + getReason() : string + +
      +
      + + + + + + + +
      +
      Return values
      + string +
      + +
      +
      +

      + getType() + + +

      + + +

      Like {@see \Exception::getCode()}, but a string code.

      + + + public + getType() : string + +
      +
      + + + + + + + +
      +
      Return values
      + string +
      + +
      +
      + +
      +
      +
      +
      +
      
      +        
      + +
      +
      + + + +
      +
      +
      + +
      + On this page + + +
      + +
      +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        + + +
        + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status423.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status423.html new file mode 100644 index 000000000..b9af0594d --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status423.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
        +

        Requests 2.0.15 API

        + + + + + +
        + +
        +
        + + + + +
        +
        + + +
        +

        + Status423 + + + extends Http + + +
        + in package + +
        + + +

        + +
        + +
        FinalYes
        + + +
        + + + +

        Exception for 423 Locked responses

        + + + + + + + + + +

        + Table of Contents + + +

        + + + + + + + + + +

        + Properties + + +

        +
        +
        + $code + +  : int +
        +
        HTTP status code
        + +
        + $data + +  : mixed +
        +
        Data associated with the exception
        + +
        + $reason + +  : string +
        +
        Reason phrase
        + +
        + $type + +  : string +
        +
        Type of exception
        + +
        + +

        + Methods + + +

        +
        +
        + __construct() + +  : mixed +
        +
        Create a new exception
        + +
        + get_class() + +  : string +
        +
        Get the correct exception class for a given error code
        + +
        + getData() + +  : mixed +
        +
        Gives any relevant data
        + +
        + getReason() + +  : string +
        +
        Get the status message.
        + +
        + getType() + +  : string +
        +
        Like {@see \Exception::getCode()}, but a string code.
        + +
        + + + + + + +
        +

        + Properties + + +

        +
        +

        + $code + + + + +

        + + +

        HTTP status code

        + + + + protected + int + $code + = 423 + + + + + + + + + +
        +
        +

        + $data + + + + +

        + + +

        Data associated with the exception

        + + + + protected + mixed + $data + + + + + + + + + + +
        +
        +

        + $reason + + + + +

        + + +

        Reason phrase

        + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_423 + + + + + + + + + +
        +
        +

        + $type + + + + +

        + + +

        Type of exception

        + + + + protected + string + $type + + + + + + + + + + +
        +
        + +
        +

        + Methods + + +

        +
        +

        + __construct() + + +

        + + +

        Create a new exception

        + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
        +
        + +

        There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

        +
        + +
        Parameters
        +
        +
        + $reason + : string|null + = null
        +
        +

        Reason phrase

        +
        + +
        +
        + $data + : mixed + = null
        +
        +

        Associated data

        +
        + +
        +
        + + + + + + +
        +
        +

        + get_class() + + +

        + + +

        Get the correct exception class for a given error code

        + + + public + static get_class(int|bool $code) : string + +
        +
        + + +
        Parameters
        +
        +
        + $code + : int|bool +
        +
        +

        HTTP status code, or false if unavailable

        +
        + +
        +
        + + + + + +
        +
        Return values
        + string + — +

        Exception class name to use

        +
        + +
        + +
        +
        +

        + getData() + + +

        + + +

        Gives any relevant data

        + + + public + getData() : mixed + +
        +
        + + + + + + + + +
        +
        +

        + getReason() + + +

        + + +

        Get the status message.

        + + + public + getReason() : string + +
        +
        + + + + + + + +
        +
        Return values
        + string +
        + +
        +
        +

        + getType() + + +

        + + +

        Like {@see \Exception::getCode()}, but a string code.

        + + + public + getType() : string + +
        +
        + + + + + + + +
        +
        Return values
        + string +
        + +
        +
        + +
        +
        +
        +
        +
        
        +        
        + +
        +
        + + + +
        +
        +
        + +
        + On this page + + +
        + +
        +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          + + +
          + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status424.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status424.html new file mode 100644 index 000000000..b2972f32e --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status424.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
          +

          Requests 2.0.15 API

          + + + + + +
          + +
          +
          + + + + +
          +
          + + +
          +

          + Status424 + + + extends Http + + +
          + in package + +
          + + +

          + +
          + +
          FinalYes
          + + +
          + + + +

          Exception for 424 Failed Dependency responses

          + + + + + + + + + +

          + Table of Contents + + +

          + + + + + + + + + +

          + Properties + + +

          +
          +
          + $code + +  : int +
          +
          HTTP status code
          + +
          + $data + +  : mixed +
          +
          Data associated with the exception
          + +
          + $reason + +  : string +
          +
          Reason phrase
          + +
          + $type + +  : string +
          +
          Type of exception
          + +
          + +

          + Methods + + +

          +
          +
          + __construct() + +  : mixed +
          +
          Create a new exception
          + +
          + get_class() + +  : string +
          +
          Get the correct exception class for a given error code
          + +
          + getData() + +  : mixed +
          +
          Gives any relevant data
          + +
          + getReason() + +  : string +
          +
          Get the status message.
          + +
          + getType() + +  : string +
          +
          Like {@see \Exception::getCode()}, but a string code.
          + +
          + + + + + + +
          +

          + Properties + + +

          +
          +

          + $code + + + + +

          + + +

          HTTP status code

          + + + + protected + int + $code + = 424 + + + + + + + + + +
          +
          +

          + $data + + + + +

          + + +

          Data associated with the exception

          + + + + protected + mixed + $data + + + + + + + + + + +
          +
          +

          + $reason + + + + +

          + + +

          Reason phrase

          + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_424 + + + + + + + + + +
          +
          +

          + $type + + + + +

          + + +

          Type of exception

          + + + + protected + string + $type + + + + + + + + + + +
          +
          + +
          +

          + Methods + + +

          +
          +

          + __construct() + + +

          + + +

          Create a new exception

          + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
          +
          + +

          There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

          +
          + +
          Parameters
          +
          +
          + $reason + : string|null + = null
          +
          +

          Reason phrase

          +
          + +
          +
          + $data + : mixed + = null
          +
          +

          Associated data

          +
          + +
          +
          + + + + + + +
          +
          +

          + get_class() + + +

          + + +

          Get the correct exception class for a given error code

          + + + public + static get_class(int|bool $code) : string + +
          +
          + + +
          Parameters
          +
          +
          + $code + : int|bool +
          +
          +

          HTTP status code, or false if unavailable

          +
          + +
          +
          + + + + + +
          +
          Return values
          + string + — +

          Exception class name to use

          +
          + +
          + +
          +
          +

          + getData() + + +

          + + +

          Gives any relevant data

          + + + public + getData() : mixed + +
          +
          + + + + + + + + +
          +
          +

          + getReason() + + +

          + + +

          Get the status message.

          + + + public + getReason() : string + +
          +
          + + + + + + + +
          +
          Return values
          + string +
          + +
          +
          +

          + getType() + + +

          + + +

          Like {@see \Exception::getCode()}, but a string code.

          + + + public + getType() : string + +
          +
          + + + + + + + +
          +
          Return values
          + string +
          + +
          +
          + +
          +
          +
          +
          +
          
          +        
          + +
          +
          + + + +
          +
          +
          + +
          + On this page + + +
          + +
          +
          +
          +
          +
          +

          Search results

          + +
          +
          +
            +
            +
            +
            +
            + + +
            + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status425.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status425.html new file mode 100644 index 000000000..5b5d1b2f3 --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status425.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
            +

            Requests 2.0.15 API

            + + + + + +
            + +
            +
            + + + + +
            +
            + + +
            +

            + Status425 + + + extends Http + + +
            + in package + +
            + + +

            + +
            + +
            FinalYes
            + + +
            + + + +

            Exception for 425 Too Early responses

            + + + + + + + + + +

            + Table of Contents + + +

            + + + + + + + + + +

            + Properties + + +

            +
            +
            + $code + +  : int +
            +
            HTTP status code
            + +
            + $data + +  : mixed +
            +
            Data associated with the exception
            + +
            + $reason + +  : string +
            +
            Reason phrase
            + +
            + $type + +  : string +
            +
            Type of exception
            + +
            + +

            + Methods + + +

            +
            +
            + __construct() + +  : mixed +
            +
            Create a new exception
            + +
            + get_class() + +  : string +
            +
            Get the correct exception class for a given error code
            + +
            + getData() + +  : mixed +
            +
            Gives any relevant data
            + +
            + getReason() + +  : string +
            +
            Get the status message.
            + +
            + getType() + +  : string +
            +
            Like {@see \Exception::getCode()}, but a string code.
            + +
            + + + + + + +
            +

            + Properties + + +

            +
            +

            + $code + + + + +

            + + +

            HTTP status code

            + + + + protected + int + $code + = 425 + + + + + + + + + +
            +
            +

            + $data + + + + +

            + + +

            Data associated with the exception

            + + + + protected + mixed + $data + + + + + + + + + + +
            +
            +

            + $reason + + + + +

            + + +

            Reason phrase

            + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_425 + + + + + + + + + +
            +
            +

            + $type + + + + +

            + + +

            Type of exception

            + + + + protected + string + $type + + + + + + + + + + +
            +
            + +
            +

            + Methods + + +

            +
            +

            + __construct() + + +

            + + +

            Create a new exception

            + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
            +
            + +

            There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

            +
            + +
            Parameters
            +
            +
            + $reason + : string|null + = null
            +
            +

            Reason phrase

            +
            + +
            +
            + $data + : mixed + = null
            +
            +

            Associated data

            +
            + +
            +
            + + + + + + +
            +
            +

            + get_class() + + +

            + + +

            Get the correct exception class for a given error code

            + + + public + static get_class(int|bool $code) : string + +
            +
            + + +
            Parameters
            +
            +
            + $code + : int|bool +
            +
            +

            HTTP status code, or false if unavailable

            +
            + +
            +
            + + + + + +
            +
            Return values
            + string + — +

            Exception class name to use

            +
            + +
            + +
            +
            +

            + getData() + + +

            + + +

            Gives any relevant data

            + + + public + getData() : mixed + +
            +
            + + + + + + + + +
            +
            +

            + getReason() + + +

            + + +

            Get the status message.

            + + + public + getReason() : string + +
            +
            + + + + + + + +
            +
            Return values
            + string +
            + +
            +
            +

            + getType() + + +

            + + +

            Like {@see \Exception::getCode()}, but a string code.

            + + + public + getType() : string + +
            +
            + + + + + + + +
            +
            Return values
            + string +
            + +
            +
            + +
            +
            +
            +
            +
            
            +        
            + +
            +
            + + + +
            +
            +
            + +
            + On this page + + +
            + +
            +
            +
            +
            +
            +

            Search results

            + +
            +
            +
              +
              +
              +
              +
              + + +
              + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status426.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status426.html new file mode 100644 index 000000000..02cdeec22 --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status426.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
              +

              Requests 2.0.15 API

              + + + + + +
              + +
              +
              + + + + +
              +
              + + +
              +

              + Status426 + + + extends Http + + +
              + in package + +
              + + +

              + +
              + +
              FinalYes
              + + +
              + + + +

              Exception for 426 Upgrade Required responses

              + + + + + + + + + +

              + Table of Contents + + +

              + + + + + + + + + +

              + Properties + + +

              +
              +
              + $code + +  : int +
              +
              HTTP status code
              + +
              + $data + +  : mixed +
              +
              Data associated with the exception
              + +
              + $reason + +  : string +
              +
              Reason phrase
              + +
              + $type + +  : string +
              +
              Type of exception
              + +
              + +

              + Methods + + +

              +
              +
              + __construct() + +  : mixed +
              +
              Create a new exception
              + +
              + get_class() + +  : string +
              +
              Get the correct exception class for a given error code
              + +
              + getData() + +  : mixed +
              +
              Gives any relevant data
              + +
              + getReason() + +  : string +
              +
              Get the status message.
              + +
              + getType() + +  : string +
              +
              Like {@see \Exception::getCode()}, but a string code.
              + +
              + + + + + + +
              +

              + Properties + + +

              +
              +

              + $code + + + + +

              + + +

              HTTP status code

              + + + + protected + int + $code + = 426 + + + + + + + + + +
              +
              +

              + $data + + + + +

              + + +

              Data associated with the exception

              + + + + protected + mixed + $data + + + + + + + + + + +
              +
              +

              + $reason + + + + +

              + + +

              Reason phrase

              + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_426 + + + + + + + + + +
              +
              +

              + $type + + + + +

              + + +

              Type of exception

              + + + + protected + string + $type + + + + + + + + + + +
              +
              + +
              +

              + Methods + + +

              +
              +

              + __construct() + + +

              + + +

              Create a new exception

              + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
              +
              + +

              There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

              +
              + +
              Parameters
              +
              +
              + $reason + : string|null + = null
              +
              +

              Reason phrase

              +
              + +
              +
              + $data + : mixed + = null
              +
              +

              Associated data

              +
              + +
              +
              + + + + + + +
              +
              +

              + get_class() + + +

              + + +

              Get the correct exception class for a given error code

              + + + public + static get_class(int|bool $code) : string + +
              +
              + + +
              Parameters
              +
              +
              + $code + : int|bool +
              +
              +

              HTTP status code, or false if unavailable

              +
              + +
              +
              + + + + + +
              +
              Return values
              + string + — +

              Exception class name to use

              +
              + +
              + +
              +
              +

              + getData() + + +

              + + +

              Gives any relevant data

              + + + public + getData() : mixed + +
              +
              + + + + + + + + +
              +
              +

              + getReason() + + +

              + + +

              Get the status message.

              + + + public + getReason() : string + +
              +
              + + + + + + + +
              +
              Return values
              + string +
              + +
              +
              +

              + getType() + + +

              + + +

              Like {@see \Exception::getCode()}, but a string code.

              + + + public + getType() : string + +
              +
              + + + + + + + +
              +
              Return values
              + string +
              + +
              +
              + +
              +
              +
              +
              +
              
              +        
              + +
              +
              + + + +
              +
              +
              + +
              + On this page + + +
              + +
              +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                + + +
                + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status428.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status428.html index b1891bf24..eb76b9867 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status428.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status428.html @@ -69,6 +69,10 @@

                Packages

                +

                + Application +

                +

                Requests

                @@ -107,10 +111,6 @@

                -

                - Application -

                -
                @@ -164,7 +164,7 @@

                @@ -301,19 +301,19 @@

                phpdocumentor-element -property -protected - " + " >

                $code - +

                @@ -321,8 +321,8 @@

                - protected - int + protected + int $code = 428 @@ -332,25 +332,27 @@

                + +

                $data - +

                @@ -358,8 +360,8 @@

                - protected - mixed + protected + mixed $data @@ -369,25 +371,27 @@

                + +

                $reason - +

                @@ -395,10 +399,10 @@

                - protected - string + protected + string $reason - = 'Precondition Required' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_428 @@ -406,25 +410,27 @@

                + +

                $type - +

                @@ -432,8 +438,8 @@

                - protected - string + protected + string $type @@ -443,6 +449,8 @@

                + +

                @@ -466,7 +474,7 @@

                @@ -525,7 +533,7 @@

                @@ -615,7 +623,7 @@

                @@ -654,7 +662,7 @@

                @@ -717,6 +725,8 @@

                Return values
                if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status429.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status429.html index 9ad761370..af6cd1e71 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status429.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status429.html @@ -69,6 +69,10 @@

                Packages

                +

                + Application +

                +

                Requests

                @@ -107,10 +111,6 @@

                -

                - Application -

                -
                @@ -164,7 +164,7 @@

                @@ -301,19 +301,19 @@

                phpdocumentor-element -property -protected - " + " >

                $code - +

                @@ -321,8 +321,8 @@

                - protected - int + protected + int $code = 429 @@ -332,25 +332,27 @@

                + +

                $data - +

                @@ -358,8 +360,8 @@

                - protected - mixed + protected + mixed $data @@ -369,25 +371,27 @@

                + +

                $reason - +

                @@ -395,10 +399,10 @@

                - protected - string + protected + string $reason - = 'Too Many Requests' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_429 @@ -406,25 +410,27 @@

                + +

                $type - +

                @@ -432,8 +438,8 @@

                - protected - string + protected + string $type @@ -443,6 +449,8 @@

                + +

                @@ -466,7 +474,7 @@

                @@ -525,7 +533,7 @@

                @@ -615,7 +623,7 @@

                @@ -654,7 +662,7 @@

                @@ -717,6 +725,8 @@

                Return values
                if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status431.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status431.html index 8dd662a87..3d3b0b09a 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status431.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status431.html @@ -69,6 +69,10 @@

                Packages

                +

                + Application +

                +

                Requests

                @@ -107,10 +111,6 @@

                -

                - Application -

                -
                @@ -164,7 +164,7 @@

                @@ -301,19 +301,19 @@

                phpdocumentor-element -property -protected - " + " >

                $code - +

                @@ -321,8 +321,8 @@

                - protected - int + protected + int $code = 431 @@ -332,25 +332,27 @@

                + +

                $data - +

                @@ -358,8 +360,8 @@

                - protected - mixed + protected + mixed $data @@ -369,25 +371,27 @@

                + +

                $reason - +

                @@ -395,10 +399,10 @@

                - protected - string + protected + string $reason - = 'Request Header Fields Too Large' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_431 @@ -406,25 +410,27 @@

                + +

                $type - +

                @@ -432,8 +438,8 @@

                - protected - string + protected + string $type @@ -443,6 +449,8 @@

                + +

                @@ -466,7 +474,7 @@

                @@ -525,7 +533,7 @@

                @@ -615,7 +623,7 @@

                @@ -654,7 +662,7 @@

                @@ -717,6 +725,8 @@

                Return values
                if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status451.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status451.html new file mode 100644 index 000000000..2a5289ea1 --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status451.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                +

                Requests 2.0.15 API

                + + + + + +
                + +
                +
                + + + + +
                +
                + + +
                +

                + Status451 + + + extends Http + + +
                + in package + +
                + + +

                + +
                + +
                FinalYes
                + + +
                + + + +

                Exception for 451 Unavailable For Legal Reasons responses

                + + + + + + + + + +

                + Table of Contents + + +

                + + + + + + + + + +

                + Properties + + +

                +
                +
                + $code + +  : int +
                +
                HTTP status code
                + +
                + $data + +  : mixed +
                +
                Data associated with the exception
                + +
                + $reason + +  : string +
                +
                Reason phrase
                + +
                + $type + +  : string +
                +
                Type of exception
                + +
                + +

                + Methods + + +

                +
                +
                + __construct() + +  : mixed +
                +
                Create a new exception
                + +
                + get_class() + +  : string +
                +
                Get the correct exception class for a given error code
                + +
                + getData() + +  : mixed +
                +
                Gives any relevant data
                + +
                + getReason() + +  : string +
                +
                Get the status message.
                + +
                + getType() + +  : string +
                +
                Like {@see \Exception::getCode()}, but a string code.
                + +
                + + + + + + +
                +

                + Properties + + +

                +
                +

                + $code + + + + +

                + + +

                HTTP status code

                + + + + protected + int + $code + = 451 + + + + + + + + + +
                +
                +

                + $data + + + + +

                + + +

                Data associated with the exception

                + + + + protected + mixed + $data + + + + + + + + + + +
                +
                +

                + $reason + + + + +

                + + +

                Reason phrase

                + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_451 + + + + + + + + + +
                +
                +

                + $type + + + + +

                + + +

                Type of exception

                + + + + protected + string + $type + + + + + + + + + + +
                +
                + +
                +

                + Methods + + +

                +
                +

                + __construct() + + +

                + + +

                Create a new exception

                + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
                +
                + +

                There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

                +
                + +
                Parameters
                +
                +
                + $reason + : string|null + = null
                +
                +

                Reason phrase

                +
                + +
                +
                + $data + : mixed + = null
                +
                +

                Associated data

                +
                + +
                +
                + + + + + + +
                +
                +

                + get_class() + + +

                + + +

                Get the correct exception class for a given error code

                + + + public + static get_class(int|bool $code) : string + +
                +
                + + +
                Parameters
                +
                +
                + $code + : int|bool +
                +
                +

                HTTP status code, or false if unavailable

                +
                + +
                +
                + + + + + +
                +
                Return values
                + string + — +

                Exception class name to use

                +
                + +
                + +
                +
                +

                + getData() + + +

                + + +

                Gives any relevant data

                + + + public + getData() : mixed + +
                +
                + + + + + + + + +
                +
                +

                + getReason() + + +

                + + +

                Get the status message.

                + + + public + getReason() : string + +
                +
                + + + + + + + +
                +
                Return values
                + string +
                + +
                +
                +

                + getType() + + +

                + + +

                Like {@see \Exception::getCode()}, but a string code.

                + + + public + getType() : string + +
                +
                + + + + + + + +
                +
                Return values
                + string +
                + +
                +
                + +
                +
                +
                +
                +
                
                +        
                + +
                +
                + + + +
                +
                +
                + +
                + On this page + + +
                + +
                +
                +
                +
                +
                +

                Search results

                + +
                +
                +
                  +
                  +
                  +
                  +
                  + + +
                  + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status500.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status500.html index 9de62e603..fea3cbb4e 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status500.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status500.html @@ -69,6 +69,10 @@

                  Packages

                  +

                  + Application +

                  +

                  Requests

                  @@ -107,10 +111,6 @@

                  -

                  - Application -

                  -
                  @@ -164,7 +164,7 @@

                  @@ -287,19 +287,19 @@

                  phpdocumentor-element -property -protected - " + " >

                  $code - +

                  @@ -307,8 +307,8 @@

                  - protected - int + protected + int $code = 500 @@ -318,25 +318,27 @@

                  + +

                  $data - +

                  @@ -344,8 +346,8 @@

                  - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

                  + +

                  $reason - +

                  @@ -381,10 +385,10 @@

                  - protected - string + protected + string $reason - = 'Internal Server Error' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_500 @@ -392,25 +396,27 @@

                  + +

                  $type - +

                  @@ -418,8 +424,8 @@

                  - protected - string + protected + string $type @@ -429,6 +435,8 @@

                  + +

                  @@ -452,7 +460,7 @@

                  @@ -511,7 +519,7 @@

                  @@ -601,7 +609,7 @@

                  @@ -640,7 +648,7 @@

                  @@ -703,6 +711,8 @@

                  Return values
                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status501.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status501.html index 005e8885a..a105f1466 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status501.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status501.html @@ -69,6 +69,10 @@

                  Packages

                  +

                  + Application +

                  +

                  Requests

                  @@ -107,10 +111,6 @@

                  -

                  - Application -

                  -
                  @@ -164,7 +164,7 @@

                  @@ -287,19 +287,19 @@

                  phpdocumentor-element -property -protected - " + " >

                  $code - +

                  @@ -307,8 +307,8 @@

                  - protected - int + protected + int $code = 501 @@ -318,25 +318,27 @@

                  + +

                  $data - +

                  @@ -344,8 +346,8 @@

                  - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

                  + +

                  $reason - +

                  @@ -381,10 +385,10 @@

                  - protected - string + protected + string $reason - = 'Not Implemented' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_501 @@ -392,25 +396,27 @@

                  + +

                  $type - +

                  @@ -418,8 +424,8 @@

                  - protected - string + protected + string $type @@ -429,6 +435,8 @@

                  + +

                  @@ -452,7 +460,7 @@

                  @@ -511,7 +519,7 @@

                  @@ -601,7 +609,7 @@

                  @@ -640,7 +648,7 @@

                  @@ -703,6 +711,8 @@

                  Return values
                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status502.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status502.html index f6dbf5fae..5255d974d 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status502.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status502.html @@ -69,6 +69,10 @@

                  Packages

                  +

                  + Application +

                  +

                  Requests

                  @@ -107,10 +111,6 @@

                  -

                  - Application -

                  -
                  @@ -164,7 +164,7 @@

                  @@ -287,19 +287,19 @@

                  phpdocumentor-element -property -protected - " + " >

                  $code - +

                  @@ -307,8 +307,8 @@

                  - protected - int + protected + int $code = 502 @@ -318,25 +318,27 @@

                  + +

                  $data - +

                  @@ -344,8 +346,8 @@

                  - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

                  + +

                  $reason - +

                  @@ -381,10 +385,10 @@

                  - protected - string + protected + string $reason - = 'Bad Gateway' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_502 @@ -392,25 +396,27 @@

                  + +

                  $type - +

                  @@ -418,8 +424,8 @@

                  - protected - string + protected + string $type @@ -429,6 +435,8 @@

                  + +

                  @@ -452,7 +460,7 @@

                  @@ -511,7 +519,7 @@

                  @@ -601,7 +609,7 @@

                  @@ -640,7 +648,7 @@

                  @@ -703,6 +711,8 @@

                  Return values
                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status503.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status503.html index e27015ead..126f5c5d2 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status503.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status503.html @@ -69,6 +69,10 @@

                  Packages

                  +

                  + Application +

                  +

                  Requests

                  @@ -107,10 +111,6 @@

                  -

                  - Application -

                  -
                  @@ -164,7 +164,7 @@

                  @@ -287,19 +287,19 @@

                  phpdocumentor-element -property -protected - " + " >

                  $code - +

                  @@ -307,8 +307,8 @@

                  - protected - int + protected + int $code = 503 @@ -318,25 +318,27 @@

                  + +

                  $data - +

                  @@ -344,8 +346,8 @@

                  - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

                  + +

                  $reason - +

                  @@ -381,10 +385,10 @@

                  - protected - string + protected + string $reason - = 'Service Unavailable' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_503 @@ -392,25 +396,27 @@

                  + +

                  $type - +

                  @@ -418,8 +424,8 @@

                  - protected - string + protected + string $type @@ -429,6 +435,8 @@

                  + +

                  @@ -452,7 +460,7 @@

                  @@ -511,7 +519,7 @@

                  @@ -601,7 +609,7 @@

                  @@ -640,7 +648,7 @@

                  @@ -703,6 +711,8 @@

                  Return values
                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status504.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status504.html index 81a9a50a4..60692cb04 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status504.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status504.html @@ -69,6 +69,10 @@

                  Packages

                  +

                  + Application +

                  +

                  Requests

                  @@ -107,10 +111,6 @@

                  -

                  - Application -

                  -
                  @@ -164,7 +164,7 @@

                  @@ -287,19 +287,19 @@

                  phpdocumentor-element -property -protected - " + " >

                  $code - +

                  @@ -307,8 +307,8 @@

                  - protected - int + protected + int $code = 504 @@ -318,25 +318,27 @@

                  + +

                  $data - +

                  @@ -344,8 +346,8 @@

                  - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

                  + +

                  $reason - +

                  @@ -381,10 +385,10 @@

                  - protected - string + protected + string $reason - = 'Gateway Timeout' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_504 @@ -392,25 +396,27 @@

                  + +

                  $type - +

                  @@ -418,8 +424,8 @@

                  - protected - string + protected + string $type @@ -429,6 +435,8 @@

                  + +

                  @@ -452,7 +460,7 @@

                  @@ -511,7 +519,7 @@

                  @@ -601,7 +609,7 @@

                  @@ -640,7 +648,7 @@

                  @@ -703,6 +711,8 @@

                  Return values
                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status505.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status505.html index eddbe61b3..d6c3227f3 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status505.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status505.html @@ -69,6 +69,10 @@

                  Packages

                  +

                  + Application +

                  +

                  Requests

                  @@ -107,10 +111,6 @@

                  -

                  - Application -

                  -
                  @@ -164,7 +164,7 @@

                  @@ -287,19 +287,19 @@

                  phpdocumentor-element -property -protected - " + " >

                  $code - +

                  @@ -307,8 +307,8 @@

                  - protected - int + protected + int $code = 505 @@ -318,25 +318,27 @@

                  + +

                  $data - +

                  @@ -344,8 +346,8 @@

                  - protected - mixed + protected + mixed $data @@ -355,25 +357,27 @@

                  + +

                  $reason - +

                  @@ -381,10 +385,10 @@

                  - protected - string + protected + string $reason - = 'HTTP Version Not Supported' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_505 @@ -392,25 +396,27 @@

                  + +

                  $type - +

                  @@ -418,8 +424,8 @@

                  - protected - string + protected + string $type @@ -429,6 +435,8 @@

                  + +

                  @@ -452,7 +460,7 @@

                  @@ -511,7 +519,7 @@

                  @@ -601,7 +609,7 @@

                  @@ -640,7 +648,7 @@

                  @@ -703,6 +711,8 @@

                  Return values
                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status506.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status506.html new file mode 100644 index 000000000..fe4f07d12 --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status506.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                  +

                  Requests 2.0.15 API

                  + + + + + +
                  + +
                  +
                  + + + + +
                  +
                  + + +
                  +

                  + Status506 + + + extends Http + + +
                  + in package + +
                  + + +

                  + +
                  + +
                  FinalYes
                  + + +
                  + + + +

                  Exception for 506 Variant Also Negotiates responses

                  + + + + + + + + + +

                  + Table of Contents + + +

                  + + + + + + + + + +

                  + Properties + + +

                  +
                  +
                  + $code + +  : int +
                  +
                  HTTP status code
                  + +
                  + $data + +  : mixed +
                  +
                  Data associated with the exception
                  + +
                  + $reason + +  : string +
                  +
                  Reason phrase
                  + +
                  + $type + +  : string +
                  +
                  Type of exception
                  + +
                  + +

                  + Methods + + +

                  +
                  +
                  + __construct() + +  : mixed +
                  +
                  Create a new exception
                  + +
                  + get_class() + +  : string +
                  +
                  Get the correct exception class for a given error code
                  + +
                  + getData() + +  : mixed +
                  +
                  Gives any relevant data
                  + +
                  + getReason() + +  : string +
                  +
                  Get the status message.
                  + +
                  + getType() + +  : string +
                  +
                  Like {@see \Exception::getCode()}, but a string code.
                  + +
                  + + + + + + +
                  +

                  + Properties + + +

                  +
                  +

                  + $code + + + + +

                  + + +

                  HTTP status code

                  + + + + protected + int + $code + = 506 + + + + + + + + + +
                  +
                  +

                  + $data + + + + +

                  + + +

                  Data associated with the exception

                  + + + + protected + mixed + $data + + + + + + + + + + +
                  +
                  +

                  + $reason + + + + +

                  + + +

                  Reason phrase

                  + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_506 + + + + + + + + + +
                  +
                  +

                  + $type + + + + +

                  + + +

                  Type of exception

                  + + + + protected + string + $type + + + + + + + + + + +
                  +
                  + +
                  +

                  + Methods + + +

                  +
                  +

                  + __construct() + + +

                  + + +

                  Create a new exception

                  + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
                  +
                  + +

                  There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

                  +
                  + +
                  Parameters
                  +
                  +
                  + $reason + : string|null + = null
                  +
                  +

                  Reason phrase

                  +
                  + +
                  +
                  + $data + : mixed + = null
                  +
                  +

                  Associated data

                  +
                  + +
                  +
                  + + + + + + +
                  +
                  +

                  + get_class() + + +

                  + + +

                  Get the correct exception class for a given error code

                  + + + public + static get_class(int|bool $code) : string + +
                  +
                  + + +
                  Parameters
                  +
                  +
                  + $code + : int|bool +
                  +
                  +

                  HTTP status code, or false if unavailable

                  +
                  + +
                  +
                  + + + + + +
                  +
                  Return values
                  + string + — +

                  Exception class name to use

                  +
                  + +
                  + +
                  +
                  +

                  + getData() + + +

                  + + +

                  Gives any relevant data

                  + + + public + getData() : mixed + +
                  +
                  + + + + + + + + +
                  +
                  +

                  + getReason() + + +

                  + + +

                  Get the status message.

                  + + + public + getReason() : string + +
                  +
                  + + + + + + + +
                  +
                  Return values
                  + string +
                  + +
                  +
                  +

                  + getType() + + +

                  + + +

                  Like {@see \Exception::getCode()}, but a string code.

                  + + + public + getType() : string + +
                  +
                  + + + + + + + +
                  +
                  Return values
                  + string +
                  + +
                  +
                  + +
                  +
                  +
                  +
                  +
                  
                  +        
                  + +
                  +
                  + + + +
                  +
                  +
                  + +
                  + On this page + + +
                  + +
                  +
                  +
                  +
                  +
                  +

                  Search results

                  + +
                  +
                  +
                    +
                    +
                    +
                    +
                    + + +
                    + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status507.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status507.html new file mode 100644 index 000000000..17ffba7ca --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status507.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                    +

                    Requests 2.0.15 API

                    + + + + + +
                    + +
                    +
                    + + + + +
                    +
                    + + +
                    +

                    + Status507 + + + extends Http + + +
                    + in package + +
                    + + +

                    + +
                    + +
                    FinalYes
                    + + +
                    + + + +

                    Exception for 507 Insufficient Storage responses

                    + + + + + + + + + +

                    + Table of Contents + + +

                    + + + + + + + + + +

                    + Properties + + +

                    +
                    +
                    + $code + +  : int +
                    +
                    HTTP status code
                    + +
                    + $data + +  : mixed +
                    +
                    Data associated with the exception
                    + +
                    + $reason + +  : string +
                    +
                    Reason phrase
                    + +
                    + $type + +  : string +
                    +
                    Type of exception
                    + +
                    + +

                    + Methods + + +

                    +
                    +
                    + __construct() + +  : mixed +
                    +
                    Create a new exception
                    + +
                    + get_class() + +  : string +
                    +
                    Get the correct exception class for a given error code
                    + +
                    + getData() + +  : mixed +
                    +
                    Gives any relevant data
                    + +
                    + getReason() + +  : string +
                    +
                    Get the status message.
                    + +
                    + getType() + +  : string +
                    +
                    Like {@see \Exception::getCode()}, but a string code.
                    + +
                    + + + + + + +
                    +

                    + Properties + + +

                    +
                    +

                    + $code + + + + +

                    + + +

                    HTTP status code

                    + + + + protected + int + $code + = 507 + + + + + + + + + +
                    +
                    +

                    + $data + + + + +

                    + + +

                    Data associated with the exception

                    + + + + protected + mixed + $data + + + + + + + + + + +
                    +
                    +

                    + $reason + + + + +

                    + + +

                    Reason phrase

                    + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_507 + + + + + + + + + +
                    +
                    +

                    + $type + + + + +

                    + + +

                    Type of exception

                    + + + + protected + string + $type + + + + + + + + + + +
                    +
                    + +
                    +

                    + Methods + + +

                    +
                    +

                    + __construct() + + +

                    + + +

                    Create a new exception

                    + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
                    +
                    + +

                    There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

                    +
                    + +
                    Parameters
                    +
                    +
                    + $reason + : string|null + = null
                    +
                    +

                    Reason phrase

                    +
                    + +
                    +
                    + $data + : mixed + = null
                    +
                    +

                    Associated data

                    +
                    + +
                    +
                    + + + + + + +
                    +
                    +

                    + get_class() + + +

                    + + +

                    Get the correct exception class for a given error code

                    + + + public + static get_class(int|bool $code) : string + +
                    +
                    + + +
                    Parameters
                    +
                    +
                    + $code + : int|bool +
                    +
                    +

                    HTTP status code, or false if unavailable

                    +
                    + +
                    +
                    + + + + + +
                    +
                    Return values
                    + string + — +

                    Exception class name to use

                    +
                    + +
                    + +
                    +
                    +

                    + getData() + + +

                    + + +

                    Gives any relevant data

                    + + + public + getData() : mixed + +
                    +
                    + + + + + + + + +
                    +
                    +

                    + getReason() + + +

                    + + +

                    Get the status message.

                    + + + public + getReason() : string + +
                    +
                    + + + + + + + +
                    +
                    Return values
                    + string +
                    + +
                    +
                    +

                    + getType() + + +

                    + + +

                    Like {@see \Exception::getCode()}, but a string code.

                    + + + public + getType() : string + +
                    +
                    + + + + + + + +
                    +
                    Return values
                    + string +
                    + +
                    +
                    + +
                    +
                    +
                    +
                    +
                    
                    +        
                    + +
                    +
                    + + + +
                    +
                    +
                    + +
                    + On this page + + +
                    + +
                    +
                    +
                    +
                    +
                    +

                    Search results

                    + +
                    +
                    +
                      +
                      +
                      +
                      +
                      + + +
                      + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status508.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status508.html new file mode 100644 index 000000000..90765b2bb --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status508.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                      +

                      Requests 2.0.15 API

                      + + + + + +
                      + +
                      +
                      + + + + +
                      +
                      + + +
                      +

                      + Status508 + + + extends Http + + +
                      + in package + +
                      + + +

                      + +
                      + +
                      FinalYes
                      + + +
                      + + + +

                      Exception for 508 Loop Detected responses

                      + + + + + + + + + +

                      + Table of Contents + + +

                      + + + + + + + + + +

                      + Properties + + +

                      +
                      +
                      + $code + +  : int +
                      +
                      HTTP status code
                      + +
                      + $data + +  : mixed +
                      +
                      Data associated with the exception
                      + +
                      + $reason + +  : string +
                      +
                      Reason phrase
                      + +
                      + $type + +  : string +
                      +
                      Type of exception
                      + +
                      + +

                      + Methods + + +

                      +
                      +
                      + __construct() + +  : mixed +
                      +
                      Create a new exception
                      + +
                      + get_class() + +  : string +
                      +
                      Get the correct exception class for a given error code
                      + +
                      + getData() + +  : mixed +
                      +
                      Gives any relevant data
                      + +
                      + getReason() + +  : string +
                      +
                      Get the status message.
                      + +
                      + getType() + +  : string +
                      +
                      Like {@see \Exception::getCode()}, but a string code.
                      + +
                      + + + + + + +
                      +

                      + Properties + + +

                      +
                      +

                      + $code + + + + +

                      + + +

                      HTTP status code

                      + + + + protected + int + $code + = 508 + + + + + + + + + +
                      +
                      +

                      + $data + + + + +

                      + + +

                      Data associated with the exception

                      + + + + protected + mixed + $data + + + + + + + + + + +
                      +
                      +

                      + $reason + + + + +

                      + + +

                      Reason phrase

                      + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_508 + + + + + + + + + +
                      +
                      +

                      + $type + + + + +

                      + + +

                      Type of exception

                      + + + + protected + string + $type + + + + + + + + + + +
                      +
                      + +
                      +

                      + Methods + + +

                      +
                      +

                      + __construct() + + +

                      + + +

                      Create a new exception

                      + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
                      +
                      + +

                      There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

                      +
                      + +
                      Parameters
                      +
                      +
                      + $reason + : string|null + = null
                      +
                      +

                      Reason phrase

                      +
                      + +
                      +
                      + $data + : mixed + = null
                      +
                      +

                      Associated data

                      +
                      + +
                      +
                      + + + + + + +
                      +
                      +

                      + get_class() + + +

                      + + +

                      Get the correct exception class for a given error code

                      + + + public + static get_class(int|bool $code) : string + +
                      +
                      + + +
                      Parameters
                      +
                      +
                      + $code + : int|bool +
                      +
                      +

                      HTTP status code, or false if unavailable

                      +
                      + +
                      +
                      + + + + + +
                      +
                      Return values
                      + string + — +

                      Exception class name to use

                      +
                      + +
                      + +
                      +
                      +

                      + getData() + + +

                      + + +

                      Gives any relevant data

                      + + + public + getData() : mixed + +
                      +
                      + + + + + + + + +
                      +
                      +

                      + getReason() + + +

                      + + +

                      Get the status message.

                      + + + public + getReason() : string + +
                      +
                      + + + + + + + +
                      +
                      Return values
                      + string +
                      + +
                      +
                      +

                      + getType() + + +

                      + + +

                      Like {@see \Exception::getCode()}, but a string code.

                      + + + public + getType() : string + +
                      +
                      + + + + + + + +
                      +
                      Return values
                      + string +
                      + +
                      +
                      + +
                      +
                      +
                      +
                      +
                      
                      +        
                      + +
                      +
                      + + + +
                      +
                      +
                      + +
                      + On this page + + +
                      + +
                      +
                      +
                      +
                      +
                      +

                      Search results

                      + +
                      +
                      +
                        +
                        +
                        +
                        +
                        + + +
                        + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status510.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status510.html new file mode 100644 index 000000000..dae1568b5 --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status510.html @@ -0,0 +1,837 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                        +

                        Requests 2.0.15 API

                        + + + + + +
                        + +
                        +
                        + + + + +
                        +
                        + + +
                        +

                        + Status510 + + + extends Http + + +
                        + in package + +
                        + + +

                        + +
                        + +
                        FinalYes
                        + + +
                        + + + +

                        Exception for 510 Not Extended responses

                        + + + + + + + + + +

                        + Table of Contents + + +

                        + + + + + + + + + +

                        + Properties + + +

                        +
                        +
                        + $code + +  : int +
                        +
                        HTTP status code
                        + +
                        + $data + +  : mixed +
                        +
                        Data associated with the exception
                        + +
                        + $reason + +  : string +
                        +
                        Reason phrase
                        + +
                        + $type + +  : string +
                        +
                        Type of exception
                        + +
                        + +

                        + Methods + + +

                        +
                        +
                        + __construct() + +  : mixed +
                        +
                        Create a new exception
                        + +
                        + get_class() + +  : string +
                        +
                        Get the correct exception class for a given error code
                        + +
                        + getData() + +  : mixed +
                        +
                        Gives any relevant data
                        + +
                        + getReason() + +  : string +
                        +
                        Get the status message.
                        + +
                        + getType() + +  : string +
                        +
                        Like {@see \Exception::getCode()}, but a string code.
                        + +
                        + + + + + + +
                        +

                        + Properties + + +

                        +
                        +

                        + $code + + + + +

                        + + +

                        HTTP status code

                        + + + + protected + int + $code + = 510 + + + + + + + + + +
                        +
                        +

                        + $data + + + + +

                        + + +

                        Data associated with the exception

                        + + + + protected + mixed + $data + + + + + + + + + + +
                        +
                        +

                        + $reason + + + + +

                        + + +

                        Reason phrase

                        + + + + protected + string + $reason + = \WpOrg\Requests\Utility\HttpStatus::TEXT_510 + + + + + + + + + +
                        +
                        +

                        + $type + + + + +

                        + + +

                        Type of exception

                        + + + + protected + string + $type + + + + + + + + + + +
                        +
                        + +
                        +

                        + Methods + + +

                        +
                        +

                        + __construct() + + +

                        + + +

                        Create a new exception

                        + + + public + __construct([string|null $reason = null ][, mixed $data = null ]) : mixed + +
                        +
                        + +

                        There is no mechanism to pass in the status code, as this is set by the +subclass used. Reason phrases can vary, however.

                        +
                        + +
                        Parameters
                        +
                        +
                        + $reason + : string|null + = null
                        +
                        +

                        Reason phrase

                        +
                        + +
                        +
                        + $data + : mixed + = null
                        +
                        +

                        Associated data

                        +
                        + +
                        +
                        + + + + + + +
                        +
                        +

                        + get_class() + + +

                        + + +

                        Get the correct exception class for a given error code

                        + + + public + static get_class(int|bool $code) : string + +
                        +
                        + + +
                        Parameters
                        +
                        +
                        + $code + : int|bool +
                        +
                        +

                        HTTP status code, or false if unavailable

                        +
                        + +
                        +
                        + + + + + +
                        +
                        Return values
                        + string + — +

                        Exception class name to use

                        +
                        + +
                        + +
                        +
                        +

                        + getData() + + +

                        + + +

                        Gives any relevant data

                        + + + public + getData() : mixed + +
                        +
                        + + + + + + + + +
                        +
                        +

                        + getReason() + + +

                        + + +

                        Get the status message.

                        + + + public + getReason() : string + +
                        +
                        + + + + + + + +
                        +
                        Return values
                        + string +
                        + +
                        +
                        +

                        + getType() + + +

                        + + +

                        Like {@see \Exception::getCode()}, but a string code.

                        + + + public + getType() : string + +
                        +
                        + + + + + + + +
                        +
                        Return values
                        + string +
                        + +
                        +
                        + +
                        +
                        +
                        +
                        +
                        
                        +        
                        + +
                        +
                        + + + +
                        +
                        +
                        + +
                        + On this page + + +
                        + +
                        +
                        +
                        +
                        +
                        +

                        Search results

                        + +
                        +
                        +
                          +
                          +
                          +
                          +
                          + + +
                          + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status511.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status511.html index e2e91365c..1c0ce419c 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status511.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status511.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -164,7 +164,7 @@

                          @@ -301,19 +301,19 @@

                          phpdocumentor-element -property -protected - " + " >

                          $code - +

                          @@ -321,8 +321,8 @@

                          - protected - int + protected + int $code = 511 @@ -332,25 +332,27 @@

                          + +

                          $data - +

                          @@ -358,8 +360,8 @@

                          - protected - mixed + protected + mixed $data @@ -369,25 +371,27 @@

                          + +

                          $reason - +

                          @@ -395,10 +399,10 @@

                          - protected - string + protected + string $reason - = 'Network Authentication Required' + = \WpOrg\Requests\Utility\HttpStatus::TEXT_511 @@ -406,25 +410,27 @@

                          + +

                          $type - +

                          @@ -432,8 +438,8 @@

                          - protected - string + protected + string $type @@ -443,6 +449,8 @@

                          + +

                          @@ -466,7 +474,7 @@

                          @@ -525,7 +533,7 @@

                          @@ -615,7 +623,7 @@

                          @@ -654,7 +662,7 @@

                          @@ -717,6 +725,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-StatusUnknown.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-StatusUnknown.html index 8c3694cb8..f76357198 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http-StatusUnknown.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-StatusUnknown.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -164,7 +164,7 @@

                          @@ -287,19 +287,19 @@

                          phpdocumentor-element -property -protected - " + " >

                          $code - +

                          @@ -307,8 +307,8 @@

                          - protected - int|bool + protected + int|bool $code = 0 @@ -320,25 +320,27 @@

                          + +

                          $data - +

                          @@ -346,8 +348,8 @@

                          - protected - mixed + protected + mixed $data @@ -357,25 +359,27 @@

                          + +

                          $reason - +

                          @@ -383,8 +387,8 @@

                          - protected - string + protected + string $reason = 'Unknown' @@ -394,25 +398,27 @@

                          + +

                          $type - +

                          @@ -420,8 +426,8 @@

                          - protected - string + protected + string $type @@ -431,6 +437,8 @@

                          + +

                          @@ -454,7 +462,7 @@

                          @@ -513,7 +521,7 @@

                          @@ -603,7 +611,7 @@

                          @@ -642,7 +650,7 @@

                          @@ -705,6 +713,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http.html b/api-2.x/classes/WpOrg-Requests-Exception-Http.html index 0a9057bad..9ceada393 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Http.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Http.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -161,7 +161,7 @@

                          @@ -284,19 +284,19 @@

                          phpdocumentor-element -property -protected - " + " >

                          $code - +

                          @@ -304,8 +304,8 @@

                          - protected - int + protected + int $code = 0 @@ -315,25 +315,27 @@

                          + +

                          $data - +

                          @@ -341,8 +343,8 @@

                          - protected - mixed + protected + mixed $data @@ -352,25 +354,27 @@

                          + +

                          $reason - +

                          @@ -378,8 +382,8 @@

                          - protected - string + protected + string $reason = 'Unknown' @@ -389,25 +393,27 @@

                          + +

                          $type - +

                          @@ -415,8 +421,8 @@

                          - protected - string + protected + string $type @@ -426,6 +432,8 @@

                          + +

                          @@ -449,7 +457,7 @@

                          @@ -508,7 +516,7 @@

                          @@ -598,7 +606,7 @@

                          @@ -637,7 +645,7 @@

                          @@ -700,6 +708,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-InvalidArgument.html b/api-2.x/classes/WpOrg-Requests-Exception-InvalidArgument.html index d01e785d8..28b865cac 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-InvalidArgument.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-InvalidArgument.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -163,7 +163,7 @@

                          @@ -248,7 +248,7 @@

                          @@ -350,6 +350,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Transport-Curl.html b/api-2.x/classes/WpOrg-Requests-Exception-Transport-Curl.html index e25772bb1..921d4b8b5 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Transport-Curl.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Transport-Curl.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -164,7 +164,7 @@

                          @@ -308,7 +308,7 @@

                          @@ -339,7 +339,7 @@

                          @@ -370,7 +370,7 @@

                          @@ -405,19 +405,19 @@

                          phpdocumentor-element -property -protected - " + " >

                          $code - +

                          @@ -425,8 +425,8 @@

                          - protected - int + protected + int $code = -1 @@ -436,25 +436,27 @@

                          + +

                          $data - +

                          @@ -462,8 +464,8 @@

                          - protected - mixed + protected + mixed $data @@ -473,25 +475,27 @@

                          + +

                          $reason - +

                          @@ -499,8 +503,8 @@

                          - protected - string + protected + string $reason = 'Unknown' @@ -510,25 +514,27 @@

                          + +

                          $type - +

                          @@ -536,8 +542,8 @@

                          - protected - string + protected + string $type = 'Unknown' @@ -549,6 +555,8 @@

                          + +

                          @@ -572,7 +580,7 @@

                          @@ -681,7 +689,7 @@

                          @@ -720,7 +728,7 @@

                          @@ -783,6 +791,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Transport.html b/api-2.x/classes/WpOrg-Requests-Exception-Transport.html index a8168d309..cbc64b52e 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception-Transport.html +++ b/api-2.x/classes/WpOrg-Requests-Exception-Transport.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -161,7 +161,7 @@

                          @@ -256,19 +256,19 @@

                          phpdocumentor-element -property -protected - " + " >

                          $data - +

                          @@ -276,8 +276,8 @@

                          - protected - mixed + protected + mixed $data @@ -287,25 +287,27 @@

                          + +

                          $type - +

                          @@ -313,8 +315,8 @@

                          - protected - string + protected + string $type @@ -324,6 +326,8 @@

                          + +

                          @@ -347,7 +351,7 @@

                          @@ -456,7 +460,7 @@

                          @@ -519,6 +523,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Exception.html b/api-2.x/classes/WpOrg-Requests-Exception.html index 36fcd9de1..c2e98f6be 100644 --- a/api-2.x/classes/WpOrg-Requests-Exception.html +++ b/api-2.x/classes/WpOrg-Requests-Exception.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -160,7 +160,7 @@

                          @@ -255,19 +255,19 @@

                          phpdocumentor-element -property -protected - " + " >

                          $data - +

                          @@ -275,8 +275,8 @@

                          - protected - mixed + protected + mixed $data @@ -286,25 +286,27 @@

                          + +

                          $type - +

                          @@ -312,8 +314,8 @@

                          - protected - string + protected + string $type @@ -323,6 +325,8 @@

                          + +

                          @@ -346,7 +350,7 @@

                          @@ -455,7 +459,7 @@

                          @@ -518,6 +522,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-HookManager.html b/api-2.x/classes/WpOrg-Requests-HookManager.html index 1ec46644b..c8e7088fc 100644 --- a/api-2.x/classes/WpOrg-Requests-HookManager.html +++ b/api-2.x/classes/WpOrg-Requests-HookManager.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -148,7 +148,7 @@

                          @@ -224,7 +224,7 @@

                          @@ -288,7 +288,7 @@

                          @@ -377,6 +377,8 @@

                          Parameters
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Hooks.html b/api-2.x/classes/WpOrg-Requests-Hooks.html index bc4ee194b..f3f06179f 100644 --- a/api-2.x/classes/WpOrg-Requests-Hooks.html +++ b/api-2.x/classes/WpOrg-Requests-Hooks.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -160,7 +160,7 @@

                          @@ -248,19 +248,19 @@

                          phpdocumentor-element -property -protected - " + " >

                          $hooks - +

                          @@ -268,8 +268,8 @@

                          - protected - array<string|int, mixed> + protected + array<string|int, mixed> $hooks = [] @@ -279,6 +279,8 @@

                          + +

                          @@ -302,7 +304,7 @@

                          @@ -393,7 +395,7 @@

                          @@ -519,6 +521,8 @@

                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-IdnaEncoder.html b/api-2.x/classes/WpOrg-Requests-IdnaEncoder.html index 59ffac9cd..7ebd48b92 100644 --- a/api-2.x/classes/WpOrg-Requests-IdnaEncoder.html +++ b/api-2.x/classes/WpOrg-Requests-IdnaEncoder.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -157,7 +157,7 @@

                          @@ -343,7 +343,7 @@

                          @@ -374,7 +374,7 @@

                          https://tools.ietf.org/html/rfc3490#section-5

                          -
                          +
                          @@ -389,7 +389,7 @@

                          @@ -420,7 +420,7 @@

                          @@ -451,7 +451,7 @@

                          @@ -482,7 +482,7 @@

                          @@ -513,7 +513,7 @@

                          @@ -544,7 +544,7 @@

                          @@ -575,7 +575,7 @@

                          @@ -606,7 +606,7 @@

                          @@ -646,7 +646,7 @@

                          - + @@ -675,7 +675,7 @@

                          @@ -683,7 +683,7 @@

                          public - static encode(string|Stringable $hostname) : string + static encode(string|Stringable $hostname) : string
                          @@ -693,7 +693,7 @@

                          Parameters
                          $hostname - : string|Stringable + : string|Stringable

                          Hostname

                          @@ -747,7 +747,7 @@

                          @@ -849,7 +849,7 @@

                          @@ -911,7 +911,6 @@

                          Return values
                          int|float

                          New bias

                          -

                          function adapt(delta,numpoints,firsttime):

                          @@ -931,7 +930,7 @@

                          @@ -1010,7 +1009,7 @@

                          @@ -1065,7 +1064,7 @@

                          @@ -1163,6 +1162,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Ipv6.html b/api-2.x/classes/WpOrg-Requests-Ipv6.html index a14a82b8f..047f4a5b0 100644 --- a/api-2.x/classes/WpOrg-Requests-Ipv6.html +++ b/api-2.x/classes/WpOrg-Requests-Ipv6.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -159,7 +159,7 @@

                          @@ -246,7 +246,7 @@

                          @@ -303,7 +303,7 @@

                          @@ -379,7 +379,7 @@

                          @@ -387,7 +387,7 @@

                          public - static uncompress(string|Stringable $ip) : string + static uncompress(string|Stringable $ip) : string
                          @@ -403,7 +403,7 @@

                          Parameters
                          $ip - : string|Stringable + : string|Stringable

                          An IPv6 address

                          @@ -526,6 +526,8 @@
                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Iri.html b/api-2.x/classes/WpOrg-Requests-Iri.html index 90ec9e426..c53ab4263 100644 --- a/api-2.x/classes/WpOrg-Requests-Iri.html +++ b/api-2.x/classes/WpOrg-Requests-Iri.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -157,7 +157,7 @@

                          @@ -297,66 +297,24 @@

                           : string -
                          - $ifragment - -  : string -
                          - -
                          - $ihost - -  : string -
                          - -
                          - $ipath - -  : string -
                          - -
                          - $iquery - -  : string -
                          -
                          $iri  : string
                          -
                          - $iuserinfo - -  : string -
                          -
                          $path  : string
                          -
                          - $port - -  : string -
                          -
                          $query  : string
                          -
                          - $scheme - -  : string -
                          -
                          $uri @@ -645,14 +603,14 @@

                          phpdocumentor-element -property -public - " + " >

                          $authority - +

                          @@ -1569,7 +1295,7 @@

                          @@ -1577,7 +1303,7 @@

                          public - __construct([string|Stringable|null $iri = null ]) : mixed + __construct([string|Stringable|null $iri = null ]) : mixed
                          @@ -1587,7 +1313,7 @@

                          Parameters
                          $iri - : string|Stringable|null + : string|Stringable|null = null
                          @@ -1631,7 +1357,7 @@

                          @@ -1678,7 +1404,7 @@

                          @@ -1729,7 +1455,7 @@

                          @@ -1785,7 +1511,7 @@

                          @@ -1824,7 +1550,7 @@

                          @@ -1871,7 +1597,7 @@

                          @@ -1933,7 +1659,7 @@

                          @@ -1973,7 +1699,7 @@

                          @@ -2012,7 +1738,7 @@

                          @@ -2051,7 +1777,7 @@

                          @@ -2090,7 +1816,7 @@

                          @@ -2129,7 +1855,7 @@

                          @@ -2178,7 +1904,7 @@

                          @@ -2227,7 +1953,7 @@

                          Iri.php : - 557 + 559 @@ -2285,7 +2011,7 @@

                          Iri.php : - 434 + 436 @@ -2355,7 +2081,7 @@

                          @@ -2389,7 +2115,7 @@

                          @@ -2439,7 +2165,7 @@

                          @@ -2488,7 +2214,7 @@

                          @@ -2538,7 +2264,7 @@

                          @@ -2588,7 +2314,7 @@

                          @@ -2637,7 +2363,7 @@

                          @@ -2687,7 +2413,7 @@

                          @@ -2736,7 +2462,7 @@

                          @@ -2786,7 +2512,7 @@

                          @@ -2835,7 +2561,7 @@

                          @@ -2914,6 +2640,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } @@ -2993,16 +2721,9 @@
                          Return values
                        • $fragment
                        • $host
                        • $iauthority
                        • -
                        • $ifragment
                        • -
                        • $ihost
                        • -
                        • $ipath
                        • -
                        • $iquery
                        • $iri
                        • -
                        • $iuserinfo
                        • $path
                        • -
                        • $port
                        • $query
                        • -
                        • $scheme
                        • $uri
                        • $userinfo
                        • $ifragment
                        • diff --git a/api-2.x/classes/WpOrg-Requests-Port.html b/api-2.x/classes/WpOrg-Requests-Port.html index 26e897432..192295e9d 100644 --- a/api-2.x/classes/WpOrg-Requests-Port.html +++ b/api-2.x/classes/WpOrg-Requests-Port.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -159,13 +159,15 @@

                          -

                          Find the correct port depending on the Request type.

                          +

                          Port utilities for Requests

                          +

                          Find the correct port depending on the Request type.

                          +

                          @@ -272,7 +274,7 @@

                          @@ -304,7 +306,7 @@

                          @@ -336,7 +338,7 @@

                          @@ -368,7 +370,7 @@

                          @@ -414,7 +416,7 @@

                          @@ -518,6 +520,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Proxy-Http.html b/api-2.x/classes/WpOrg-Requests-Proxy-Http.html index 58b2ee52e..1444263da 100644 --- a/api-2.x/classes/WpOrg-Requests-Proxy-Http.html +++ b/api-2.x/classes/WpOrg-Requests-Proxy-Http.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -163,7 +163,7 @@

                          @@ -324,19 +324,19 @@

                          phpdocumentor-element -property -public - " + " >

                          $pass - +

                          @@ -344,8 +344,8 @@

                          - public - string + public + string $pass @@ -355,25 +355,27 @@

                          + +

                          $proxy - +

                          @@ -381,8 +383,8 @@

                          - public - string + public + string $proxy @@ -394,25 +396,27 @@

                          + +

                          $use_authentication - +

                          @@ -420,8 +424,8 @@

                          - public - bool + public + bool $use_authentication @@ -431,25 +435,27 @@

                          + +

                          $user - +

                          @@ -457,8 +463,8 @@

                          - public - string + public + string $user @@ -468,6 +474,8 @@

                          + +

                          @@ -491,7 +499,7 @@

                          @@ -575,7 +583,7 @@

                          @@ -637,7 +645,7 @@

                          @@ -699,7 +707,7 @@

                          @@ -770,7 +778,7 @@

                          @@ -832,7 +840,7 @@

                          @@ -886,7 +894,7 @@

                          @@ -1004,6 +1012,8 @@

                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Proxy.html b/api-2.x/classes/WpOrg-Requests-Proxy.html index 4509cefd5..589f43664 100644 --- a/api-2.x/classes/WpOrg-Requests-Proxy.html +++ b/api-2.x/classes/WpOrg-Requests-Proxy.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -148,7 +148,7 @@

                          @@ -183,7 +183,7 @@

                          -
                          + @@ -244,7 +244,7 @@

                          @@ -334,6 +334,8 @@

                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Requests.html b/api-2.x/classes/WpOrg-Requests-Requests.html index 96fb26b07..0e2322de5 100644 --- a/api-2.x/classes/WpOrg-Requests-Requests.html +++ b/api-2.x/classes/WpOrg-Requests-Requests.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -156,7 +156,7 @@

                          @@ -502,7 +502,7 @@

                          @@ -534,7 +534,7 @@

                          @@ -566,7 +566,7 @@

                          - + @@ -581,7 +581,7 @@

                          @@ -613,7 +613,7 @@

                          @@ -645,7 +645,7 @@

                          @@ -677,7 +677,7 @@

                          @@ -727,7 +727,7 @@

                          - + @@ -742,7 +742,7 @@

                          @@ -774,7 +774,7 @@

                          @@ -805,7 +805,7 @@

                          https://tools.ietf.org/html/rfc5789 - + @@ -820,7 +820,7 @@

                          @@ -852,7 +852,7 @@

                          @@ -884,7 +884,7 @@

                          @@ -916,7 +916,7 @@

                          @@ -952,19 +952,19 @@

                          phpdocumentor-element -property -public - -static " + -static " >

                          $transport - +

                          @@ -972,8 +972,8 @@

                          - public - static array<string|int, mixed> + public + static array<string|int, mixed> $transport = [] @@ -985,25 +985,27 @@

                          + +

                          $certificate_path - +

                          @@ -1011,8 +1013,8 @@

                          - protected - static string + protected + static string $certificate_path = __DIR__ . '/../certificates/cacert.pem' @@ -1045,25 +1047,27 @@

                          + +

                          $transports - +

                          @@ -1071,8 +1075,8 @@

                          - protected - static array<string|int, mixed> + protected + static array<string|int, mixed> $transports = [] @@ -1082,6 +1086,8 @@

                          + +

                          @@ -1105,7 +1111,7 @@

                          @@ -1152,7 +1158,7 @@

                          @@ -1261,7 +1267,7 @@

                          @@ -1336,7 +1342,7 @@

                          @@ -1395,7 +1401,7 @@

                          @@ -1467,7 +1473,7 @@

                          @@ -1526,7 +1532,7 @@

                          @@ -1569,7 +1575,7 @@

                          @@ -1629,7 +1635,7 @@

                          @@ -1688,7 +1694,7 @@

                          @@ -1754,7 +1760,7 @@

                          @@ -1814,7 +1820,7 @@

                          @@ -1897,7 +1903,7 @@

                          @@ -1963,7 +1969,7 @@

                          @@ -2029,7 +2035,7 @@

                          @@ -2037,7 +2043,7 @@

                          public - static request(string|Stringable $url[, array<string|int, mixed> $headers = [] ][, array<string|int, mixed>|null $data = [] ][, string $type = self::GET ][, array<string|int, mixed> $options = [] ]) : Response + static request(string|Stringable $url[, array<string|int, mixed> $headers = [] ][, array<string|int, mixed>|null $data = [] ][, string $type = self::GET ][, array<string|int, mixed> $options = [] ]) : Response
                          @@ -2047,61 +2053,45 @@

                          The $options parameter takes an associative array with the following options:

                          @@ -2111,7 +2101,7 @@

                          Parameters
                          $url - : string|Stringable + : string|Stringable

                          URL to request

                          @@ -2227,7 +2217,7 @@

                          @@ -2246,24 +2236,19 @@

                          multiple.request.complete callback.

                          The request fields value is an associative array with the following keys:

                            -
                          • -url: Request URL Same as the $url parameter to +
                          • url: Request URL Same as the $url parameter to Requests::request() (string, required)
                          • -
                          • -headers: Associative array of header fields. Same as the $headers +
                          • headers: Associative array of header fields. Same as the $headers parameter to Requests::request() (array, default: array())
                          • -
                          • -data: Associative array of data fields or a string. Same as the +
                          • data: Associative array of data fields or a string. Same as the $data parameter to Requests::request() (array|string, default: array())
                          • -
                          • -type: HTTP request type (use \WpOrg\Requests\Requests constants). Same as the $type +
                          • type: HTTP request type (use \WpOrg\Requests\Requests constants). Same as the $type parameter to Requests::request() (string, default: \WpOrg\Requests\Requests::GET)
                          • -
                          • -cookies: Associative array of cookie name to value, or cookie jar. +
                          • cookies: Associative array of cookie name to value, or cookie jar. (array|\WpOrg\Requests\Cookie\Jar)

                          If the $options parameter is specified, individual requests will @@ -2271,8 +2256,7 @@

                          or set all the types to \WpOrg\Requests\Requests::POST, for example.

                          In addition, the $options parameter takes the following global options:

                            -
                          • -complete: A callback for when a request is complete. Takes two +
                          • complete: A callback for when a request is complete. Takes two parameters, a \WpOrg\Requests\Response/\WpOrg\Requests\Exception reference, and the ID from the request array (Note: this can also be overridden on a per-request basis, although that's a little silly) @@ -2357,7 +2341,7 @@

                            @@ -2365,7 +2349,7 @@

                            public - static set_certificate_path(string|Stringable|bool $path) : mixed + static set_certificate_path(string|Stringable|bool $path) : mixed
                            @@ -2375,7 +2359,7 @@

                            Parameters
                            $path - : string|Stringable|bool + : string|Stringable|bool

                            Certificate path, pointing to a PEM file.

                            @@ -2421,7 +2405,7 @@

                            @@ -2480,7 +2464,7 @@

                            @@ -2549,7 +2533,7 @@

                            @@ -2621,7 +2605,7 @@

                            @@ -2689,7 +2673,7 @@

                            @@ -2745,7 +2729,7 @@

                            @@ -2869,7 +2853,7 @@

                            @@ -2995,6 +2979,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Response-Headers.html b/api-2.x/classes/WpOrg-Requests-Response-Headers.html index 7ef3bf897..5371ba754 100644 --- a/api-2.x/classes/WpOrg-Requests-Response-Headers.html +++ b/api-2.x/classes/WpOrg-Requests-Response-Headers.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -160,7 +160,7 @@

                          @@ -290,19 +290,19 @@

                          phpdocumentor-element -property -protected - " + " >

                          $data - +

                          @@ -310,8 +310,8 @@

                          - protected - array<string|int, mixed> + protected + array<string|int, mixed> $data = [] @@ -321,6 +321,8 @@

                          + +

                          @@ -344,7 +346,7 @@

                          @@ -391,7 +393,7 @@

                          @@ -466,7 +468,7 @@

                          @@ -509,7 +511,7 @@

                          @@ -551,7 +553,7 @@

                          @@ -623,7 +625,7 @@

                          @@ -689,7 +691,7 @@

                          @@ -749,7 +751,7 @@

                          @@ -822,7 +824,7 @@

                          @@ -904,6 +906,8 @@

                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Response.html b/api-2.x/classes/WpOrg-Requests-Response.html index eeddab4b2..1c1699f78 100644 --- a/api-2.x/classes/WpOrg-Requests-Response.html +++ b/api-2.x/classes/WpOrg-Requests-Response.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -316,14 +316,14 @@

                          phpdocumentor-element -property -public - " + " >

                          $body - +

                          @@ -744,7 +764,7 @@

                          @@ -889,7 +909,7 @@

                          @@ -987,6 +1007,8 @@

                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Session.html b/api-2.x/classes/WpOrg-Requests-Session.html index 0b79f2a6a..be4f041b3 100644 --- a/api-2.x/classes/WpOrg-Requests-Session.html +++ b/api-2.x/classes/WpOrg-Requests-Session.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -157,7 +157,7 @@

                          @@ -348,19 +348,19 @@

                          phpdocumentor-element -property -public - " + " >

                          $data - +

                          @@ -368,8 +368,8 @@

                          - public - array<string|int, mixed> + public + array<string|int, mixed> $data = [] @@ -382,25 +382,27 @@

                          + +

                          $headers - +

                          @@ -408,8 +410,8 @@

                          - public - array<string|int, mixed> + public + array<string|int, mixed> $headers = [] @@ -419,25 +421,27 @@

                          + +

                          $options - +

                          @@ -445,8 +449,8 @@

                          - public - array<string|int, mixed> + public + array<string|int, mixed> $options = [] @@ -461,25 +465,27 @@

                          + +

                          $url - +

                          @@ -487,8 +493,8 @@

                          - public - string|null + public + string|null $url = null @@ -500,6 +506,8 @@

                          + +

                          @@ -523,7 +531,7 @@

                          @@ -531,7 +539,7 @@

                          public - __construct([string|Stringable|null $url = null ][, array<string|int, mixed> $headers = [] ][, array<string|int, mixed> $data = [] ][, array<string|int, mixed> $options = [] ]) : mixed + __construct([string|Stringable|null $url = null ][, array<string|int, mixed> $headers = [] ][, array<string|int, mixed> $data = [] ][, array<string|int, mixed> $options = [] ]) : mixed
                          @@ -541,7 +549,7 @@

                          Parameters
                          $url - : string|Stringable|null + : string|Stringable|null = null

                          Base URL for requests

                          @@ -644,7 +652,7 @@

                          @@ -699,7 +707,7 @@

                          @@ -746,7 +754,7 @@

                          @@ -802,7 +810,7 @@

                          @@ -849,7 +857,7 @@

                          @@ -908,7 +916,7 @@

                          @@ -967,7 +975,7 @@

                          @@ -1026,7 +1034,7 @@

                          @@ -1109,7 +1117,7 @@

                          @@ -1175,7 +1183,7 @@

                          @@ -1241,7 +1249,7 @@

                          @@ -1356,7 +1364,7 @@

                          @@ -1455,7 +1463,7 @@

                          @@ -1543,6 +1551,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Ssl.html b/api-2.x/classes/WpOrg-Requests-Ssl.html index 4b75c07ef..5927bcbb1 100644 --- a/api-2.x/classes/WpOrg-Requests-Ssl.html +++ b/api-2.x/classes/WpOrg-Requests-Ssl.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -159,7 +159,7 @@

                          @@ -245,7 +245,7 @@

                          @@ -253,7 +253,7 @@

                          public - static match_domain(string|Stringable $host, string|Stringable $reference) : bool + static match_domain(string|Stringable $host, string|Stringable $reference) : bool
                          @@ -263,7 +263,7 @@

                          Parameters
                          $host - : string|Stringable + : string|Stringable

                          Requested host

                          @@ -272,7 +272,7 @@
                          Parameters
                          $reference - : string|Stringable + : string|Stringable

                          dNSName to match against

                          @@ -326,7 +326,7 @@

                          @@ -334,7 +334,7 @@

                          public - static verify_certificate(string|Stringable $host, array<string|int, mixed> $cert) : bool + static verify_certificate(string|Stringable $host, array<string|int, mixed> $cert) : bool
                          @@ -347,7 +347,7 @@

                          Parameters
                          $host - : string|Stringable + : string|Stringable

                          Host name to verify against

                          @@ -424,7 +424,7 @@

                          @@ -432,7 +432,7 @@

                          public - static verify_reference_name(string|Stringable $reference) : bool + static verify_reference_name(string|Stringable $reference) : bool
                          @@ -453,7 +453,7 @@

                          Parameters
                          $reference - : string|Stringable + : string|Stringable

                          Reference dNSName

                          @@ -531,6 +531,8 @@
                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Transport-Curl.html b/api-2.x/classes/WpOrg-Requests-Transport-Curl.html index d1832ae97..99f4d09f5 100644 --- a/api-2.x/classes/WpOrg-Requests-Transport-Curl.html +++ b/api-2.x/classes/WpOrg-Requests-Transport-Curl.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -163,11 +163,11 @@

                          -

                          cURL HTTP transport

                          +

                          HTTP transport using libcurl.

                          @@ -343,7 +343,7 @@

                          @@ -374,7 +374,7 @@

                          @@ -409,19 +409,19 @@

                          phpdocumentor-element -property -public - " + " >

                          $headers - +

                          @@ -429,8 +429,8 @@

                          - public - string + public + string $headers = '' @@ -440,25 +440,27 @@

                          + +

                          $info - +

                          @@ -466,8 +468,8 @@

                          - public - array<string|int, mixed> + public + array<string|int, mixed> $info @@ -479,25 +481,27 @@

                          + +

                          $response_data - +

                          @@ -505,8 +509,8 @@

                          - public - string + public + string $response_data = '' @@ -516,25 +520,27 @@

                          + +

                          $version - +

                          @@ -542,8 +548,8 @@

                          - public - int + public + int $version @@ -553,6 +559,8 @@

                          + +

                          @@ -576,7 +584,7 @@

                          @@ -611,7 +619,7 @@

                          @@ -646,7 +654,7 @@

                          @@ -728,7 +736,7 @@

                          @@ -809,7 +817,7 @@

                          @@ -817,7 +825,7 @@

                          public - request(string|Stringable $url[, array<string|int, mixed> $headers = [] ][, string|array<string|int, mixed> $data = [] ][, array<string|int, mixed> $options = [] ]) : string + request(string|Stringable $url[, array<string|int, mixed> $headers = [] ][, string|array<string|int, mixed> $data = [] ][, array<string|int, mixed> $options = [] ]) : string
                          @@ -827,7 +835,7 @@

                          Parameters
                          $url - : string|Stringable + : string|Stringable

                          URL to request

                          @@ -948,7 +956,7 @@

                          @@ -1039,7 +1047,7 @@

                          @@ -1118,7 +1126,7 @@

                          @@ -1182,7 +1190,7 @@

                          @@ -1263,6 +1271,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Transport-Fsockopen.html b/api-2.x/classes/WpOrg-Requests-Transport-Fsockopen.html index a615ed264..088c8c971 100644 --- a/api-2.x/classes/WpOrg-Requests-Transport-Fsockopen.html +++ b/api-2.x/classes/WpOrg-Requests-Transport-Fsockopen.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -163,7 +163,7 @@

                          @@ -296,7 +296,7 @@

                          @@ -332,19 +332,19 @@

                          phpdocumentor-element -property -public - " + " >

                          $headers - +

                          @@ -352,8 +352,8 @@

                          - public - string + public + string $headers = '' @@ -363,25 +363,27 @@

                          + +

                          $info - +

                          @@ -389,8 +391,8 @@

                          - public - array<string|int, mixed> + public + array<string|int, mixed> $info @@ -402,6 +404,8 @@

                          + +

                          @@ -425,7 +429,7 @@

                          @@ -481,7 +485,7 @@

                          @@ -489,7 +493,7 @@

                          public - request(string|Stringable $url[, array<string|int, mixed> $headers = [] ][, string|array<string|int, mixed> $data = [] ][, array<string|int, mixed> $options = [] ]) : string + request(string|Stringable $url[, array<string|int, mixed> $headers = [] ][, string|array<string|int, mixed> $data = [] ][, array<string|int, mixed> $options = [] ]) : string
                          @@ -499,7 +503,7 @@

                          Parameters
                          $url - : string|Stringable + : string|Stringable

                          URL to request

                          @@ -630,7 +634,7 @@

                          @@ -721,7 +725,7 @@

                          @@ -778,7 +782,7 @@

                          Fsockopen.php : - 481 + 487 @@ -901,6 +905,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Transport.html b/api-2.x/classes/WpOrg-Requests-Transport.html index 57aa963b1..12df96d40 100644 --- a/api-2.x/classes/WpOrg-Requests-Transport.html +++ b/api-2.x/classes/WpOrg-Requests-Transport.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -148,7 +148,7 @@

                          @@ -231,7 +231,7 @@

                          @@ -313,7 +313,7 @@

                          @@ -377,7 +377,7 @@

                          @@ -458,6 +458,8 @@

                          Return values
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Utility-CaseInsensitiveDictionary.html b/api-2.x/classes/WpOrg-Requests-Utility-CaseInsensitiveDictionary.html index 94bcffe8f..3cf2def0f 100644 --- a/api-2.x/classes/WpOrg-Requests-Utility-CaseInsensitiveDictionary.html +++ b/api-2.x/classes/WpOrg-Requests-Utility-CaseInsensitiveDictionary.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -161,7 +161,7 @@

                          @@ -284,19 +284,19 @@

                          phpdocumentor-element -property -protected - " + " >

                          $data - +

                          @@ -304,8 +304,8 @@

                          - protected - array<string|int, mixed> + protected + array<string|int, mixed> $data = [] @@ -315,6 +315,8 @@

                          + +

                          @@ -338,7 +340,7 @@

                          @@ -385,7 +387,7 @@

                          @@ -428,7 +430,7 @@

                          @@ -478,7 +480,7 @@

                          @@ -544,7 +546,7 @@

                          @@ -610,7 +612,7 @@

                          @@ -694,7 +696,7 @@

                          @@ -776,6 +778,8 @@

                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/classes/WpOrg-Requests-Utility-FilteredIterator.html b/api-2.x/classes/WpOrg-Requests-Utility-FilteredIterator.html index 134b764b8..6334fabb1 100644 --- a/api-2.x/classes/WpOrg-Requests-Utility-FilteredIterator.html +++ b/api-2.x/classes/WpOrg-Requests-Utility-FilteredIterator.html @@ -69,6 +69,10 @@

                          Packages

                          +

                          + Application +

                          +

                          Requests

                          @@ -107,10 +111,6 @@

                          -

                          - Application -

                          -
                          @@ -163,7 +163,7 @@

                          @@ -212,13 +212,6 @@

                          Prevent unserialization of the object for security reasons.
                          -
                          - __wakeup() - -  : void -
                          -
                          Perform reinitialization tasks.
                          -
                          current() @@ -261,7 +254,7 @@

                          @@ -334,7 +327,7 @@

                          @@ -347,7 +340,9 @@

                          - +

                          This method is used on PHP 7.4+.

                          +
                          +

                          Parameters
                          @@ -393,43 +388,6 @@

                          - -
                          -

                          - __wakeup() - - -

                          - - -

                          Perform reinitialization tasks.

                          - - - public - __wakeup() : void - -
                          -
                          - -

                          Prevents a callback from being injected during unserialization of an object.

                          -
                          - - - - - - -
                          @@ -495,7 +453,7 @@

                          @@ -508,7 +466,9 @@

                          - +

                          This method is used on PHP < 7.4.

                          +
                          +

                          Parameters
                          @@ -577,6 +537,8 @@
                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } @@ -654,7 +616,6 @@
                          diff --git a/api-2.x/classes/WpOrg-Requests-Utility-HttpStatus.html b/api-2.x/classes/WpOrg-Requests-Utility-HttpStatus.html new file mode 100644 index 000000000..688c1e1e8 --- /dev/null +++ b/api-2.x/classes/WpOrg-Requests-Utility-HttpStatus.html @@ -0,0 +1,4255 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                          +

                          Requests 2.0.15 API

                          + + + + + +
                          + +
                          +
                          + + + + +
                          +
                          + + +
                          +

                          + HttpStatus + + +
                          + in package + +
                          + + +

                          + +
                          + +
                          FinalYes
                          + + +
                          + + + +

                          Helper class for dealing with HTTP status codes.

                          + + +

                          The codes are synced with the mdn web docs at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status.

                          +
                          + + +
                          + Tags + + +
                          +
                          +
                          + since +
                          +
                          + 2.1.0 + + +
                          +
                          + + + + + +

                          + Table of Contents + + +

                          + + + + + + + +

                          + Constants + + +

                          +
                          +
                          + MAP + +  = [100 => self::TEXT_100, 101 => self::TEXT_101, 102 => self::TEXT_102, 103 => self::TEXT_103, 200 => self::TEXT_200, 201 => self::TEXT_201, 202 => self::TEXT_202, 203 => self::TEXT_203, 204 => self::TEXT_204, 205 => self::TEXT_205, 206 => self::TEXT_206, 207 => self::TEXT_207, 208 => self::TEXT_208, 226 => self::TEXT_226, 300 => self::TEXT_300, 301 => self::TEXT_301, 302 => self::TEXT_302, 303 => self::TEXT_303, 304 => self::TEXT_304, 305 => self::TEXT_305, 306 => self::TEXT_306, 307 => self::TEXT_307, 308 => self::TEXT_308, 400 => self::TEXT_400, 401 => self::TEXT_401, 402 => self::TEXT_402, 403 => self::TEXT_403, 404 => self::TEXT_404, 405 => self::TEXT_405, 406 => self::TEXT_406, 407 => self::TEXT_407, 408 => self::TEXT_408, 409 => self::TEXT_409, 410 => self::TEXT_410, 411 => self::TEXT_411, 412 => self::TEXT_412, 413 => self::TEXT_413, 414 => self::TEXT_414, 415 => self::TEXT_415, 416 => self::TEXT_416, 417 => self::TEXT_417, 418 => self::TEXT_418, 421 => self::TEXT_421, 422 => self::TEXT_422, 423 => self::TEXT_423, 424 => self::TEXT_424, 425 => self::TEXT_425, 426 => self::TEXT_426, 428 => self::TEXT_428, 429 => self::TEXT_429, 431 => self::TEXT_431, 451 => self::TEXT_451, 500 => self::TEXT_500, 501 => self::TEXT_501, 502 => self::TEXT_502, 503 => self::TEXT_503, 504 => self::TEXT_504, 505 => self::TEXT_505, 506 => self::TEXT_506, 507 => self::TEXT_507, 508 => self::TEXT_508, 510 => self::TEXT_510, 511 => self::TEXT_511] +
                          +
                          Map of status codes to their text.
                          + +
                          + TEXT_100 + +  = 'Continue' +
                          +
                          HTTP response code 100 - Continue.
                          + +
                          + TEXT_101 + +  = 'Switching Protocols' +
                          +
                          HTTP response code 101 - Switching Protocols.
                          + +
                          + TEXT_102 + +  = 'Processing' +
                          +
                          HTTP response code 102 - Processing (WebDAV).
                          + +
                          + TEXT_103 + +  = 'Early Hints' +
                          +
                          HTTP response code 103 - Early Hints.
                          + +
                          + TEXT_200 + +  = 'OK' +
                          +
                          HTTP response code 200 - OK.
                          + +
                          + TEXT_201 + +  = 'Created' +
                          +
                          HTTP response code 201 - Created.
                          + +
                          + TEXT_202 + +  = 'Accepted' +
                          +
                          HTTP response code 202 - Accepted.
                          + +
                          + TEXT_203 + +  = 'Non-Authoritative Information' +
                          +
                          HTTP response code 203 - Non-Authoritative Information.
                          + +
                          + TEXT_204 + +  = 'No Content' +
                          +
                          HTTP response code 204 - No Content.
                          + +
                          + TEXT_205 + +  = 'Reset Content' +
                          +
                          HTTP response code 205 - Reset Content.
                          + +
                          + TEXT_206 + +  = 'Partial Content' +
                          +
                          HTTP response code 206 - Partial Content.
                          + +
                          + TEXT_207 + +  = 'Multi-Status' +
                          +
                          HTTP response code 207 - Multi-Status (WebDAV).
                          + +
                          + TEXT_208 + +  = 'Already Reported' +
                          +
                          HTTP response code 208 - Already Reported (WebDAV).
                          + +
                          + TEXT_226 + +  = 'IM Used' +
                          +
                          HTTP response code 226 - IM Used (HTTP Delta encoding).
                          + +
                          + TEXT_300 + +  = 'Multiple Choices' +
                          +
                          HTTP response code 300 - Multiple Choices.
                          + +
                          + TEXT_301 + +  = 'Moved Permanently' +
                          +
                          HTTP response code 301 - Moved Permanently.
                          + +
                          + TEXT_302 + +  = 'Found' +
                          +
                          HTTP response code 302 - Found.
                          + +
                          + TEXT_303 + +  = 'See Other' +
                          +
                          HTTP response code 303 - See Other.
                          + +
                          + TEXT_304 + +  = 'Not Modified' +
                          +
                          HTTP response code 304 - Not Modified.
                          + +
                          + TEXT_305 + +  = 'Use Proxy' +
                          +
                          HTTP response code 305 - Use Proxy (DEPRECATED!).
                          + +
                          + TEXT_306 + +  = 'Switch Proxy' +
                          +
                          HTTP response code 306 - Switch Proxy (DEPRECATED!).
                          + +
                          + TEXT_307 + +  = 'Temporary Redirect' +
                          +
                          HTTP response code 307 - Temporary Redirect.
                          + +
                          + TEXT_308 + +  = 'Permanent Redirect' +
                          +
                          HTTP response code 308 - Permanent Redirect.
                          + +
                          + TEXT_400 + +  = 'Bad Request' +
                          +
                          HTTP response code 400 - Bad Request.
                          + +
                          + TEXT_401 + +  = 'Unauthorized' +
                          +
                          HTTP response code 401 - Unauthorized.
                          + +
                          + TEXT_402 + +  = 'Payment Required' +
                          +
                          HTTP response code 402 - Payment Required (Experimental).
                          + +
                          + TEXT_403 + +  = 'Forbidden' +
                          +
                          HTTP response code 403 - Forbidden.
                          + +
                          + TEXT_404 + +  = 'Not Found' +
                          +
                          HTTP response code 404 - Not Found.
                          + +
                          + TEXT_405 + +  = 'Method Not Allowed' +
                          +
                          HTTP response code 405 - Method Not Allowed.
                          + +
                          + TEXT_406 + +  = 'Not Acceptable' +
                          +
                          HTTP response code 406 - Not Acceptable.
                          + +
                          + TEXT_407 + +  = 'Proxy Authentication Required' +
                          +
                          HTTP response code 407 - Proxy Authentication Required.
                          + +
                          + TEXT_408 + +  = 'Request Timeout' +
                          +
                          HTTP response code 408 - Request Timeout.
                          + +
                          + TEXT_409 + +  = 'Conflict' +
                          +
                          HTTP response code 409 - Conflict.
                          + +
                          + TEXT_410 + +  = 'Gone' +
                          +
                          HTTP response code 410 - Gone.
                          + +
                          + TEXT_411 + +  = 'Length Required' +
                          +
                          HTTP response code 411 - Length Required.
                          + +
                          + TEXT_412 + +  = 'Precondition Failed' +
                          +
                          HTTP response code 412 - Precondition Failed.
                          + +
                          + TEXT_413 + +  = 'Payload Too Large' +
                          +
                          HTTP response code 413 - Payload Too Large.
                          + +
                          + TEXT_414 + +  = 'URI Too Long' +
                          +
                          HTTP response code 414 - URI Too Long.
                          + +
                          + TEXT_415 + +  = 'Unsupported Media Type' +
                          +
                          HTTP response code 415 - Unsupported Media Type.
                          + +
                          + TEXT_416 + +  = 'Requested Range Not Satisfiable' +
                          +
                          HTTP response code 416 - Range Not Satisfiable.
                          + +
                          + TEXT_417 + +  = 'Expectation Failed' +
                          +
                          HTTP response code 417 - Expectation Failed.
                          + +
                          + TEXT_418 + +  = "I'm a teapot" +
                          +
                          HTTP response code 418 - I'm a teapot.
                          + +
                          + TEXT_421 + +  = 'Misdirected Request' +
                          +
                          HTTP response code 421 - Misdirected Request.
                          + +
                          + TEXT_422 + +  = 'Unprocessable Content' +
                          +
                          HTTP response code 422 - Unprocessable Entity (WebDAV).
                          + +
                          + TEXT_423 + +  = 'Locked' +
                          +
                          HTTP response code 423 - Locked (WebDAV).
                          + +
                          + TEXT_424 + +  = 'Failed Dependency' +
                          +
                          HTTP response code 424 - Failed Dependency (WebDAV).
                          + +
                          + TEXT_425 + +  = 'Too Early' +
                          +
                          HTTP response code 425 - Too Early (Experimental).
                          + +
                          + TEXT_426 + +  = 'Upgrade Required' +
                          +
                          HTTP response code 426 - Upgrade Required.
                          + +
                          + TEXT_428 + +  = 'Precondition Required' +
                          +
                          HTTP response code 428 - Precondition Required.
                          + +
                          + TEXT_429 + +  = 'Too Many Requests' +
                          +
                          HTTP response code 429 - Too Many Requests.
                          + +
                          + TEXT_431 + +  = 'Request Header Fields Too Large' +
                          +
                          HTTP response code 431 - Request Header Fields Too Large.
                          + +
                          + TEXT_451 + +  = 'Unavailable For Legal Reasons' +
                          +
                          HTTP response code 451 - Unavailable For Legal Reasons.
                          + +
                          + TEXT_500 + +  = 'Internal Server Error' +
                          +
                          HTTP response code 500 - Internal Server Error.
                          + +
                          + TEXT_501 + +  = 'Not Implemented' +
                          +
                          HTTP response code 501 - Not Implemented.
                          + +
                          + TEXT_502 + +  = 'Bad Gateway' +
                          +
                          HTTP response code 502 - Bad Gateway.
                          + +
                          + TEXT_503 + +  = 'Service Unavailable' +
                          +
                          HTTP response code 503 - Service Unavailable.
                          + +
                          + TEXT_504 + +  = 'Gateway Timeout' +
                          +
                          HTTP response code 504 - Gateway Timeout.
                          + +
                          + TEXT_505 + +  = 'HTTP Version Not Supported' +
                          +
                          HTTP response code 505 - HTTP Version Not Supported.
                          + +
                          + TEXT_506 + +  = 'Variant Also Negotiates' +
                          +
                          HTTP response code 506 - Variant Also Negotiates.
                          + +
                          + TEXT_507 + +  = 'Insufficient Storage' +
                          +
                          HTTP response code 507 - Insufficient Storage (WebDAV).
                          + +
                          + TEXT_508 + +  = 'Loop Detected' +
                          +
                          HTTP response code 508 - Loop Detected (WebDAV).
                          + +
                          + TEXT_510 + +  = 'Not Extended' +
                          +
                          HTTP response code 510 - Not Extended.
                          + +
                          + TEXT_511 + +  = 'Network Authentication Required' +
                          +
                          HTTP response code 511 - Network Authentication Required.
                          + +
                          + + + +

                          + Methods + + +

                          +
                          +
                          + get_text() + +  : string +
                          +
                          Get the status message from a status code.
                          + +
                          + is_valid_code() + +  : bool +
                          +
                          Verify whether a status code is valid.
                          + +
                          + + + + +
                          +

                          + Constants + + +

                          +
                          +

                          + MAP + + +

                          + + + +

                          Map of status codes to their text.

                          + + + + public + array<string|int, string> + MAP + = [100 => self::TEXT_100, 101 => self::TEXT_101, 102 => self::TEXT_102, 103 => self::TEXT_103, 200 => self::TEXT_200, 201 => self::TEXT_201, 202 => self::TEXT_202, 203 => self::TEXT_203, 204 => self::TEXT_204, 205 => self::TEXT_205, 206 => self::TEXT_206, 207 => self::TEXT_207, 208 => self::TEXT_208, 226 => self::TEXT_226, 300 => self::TEXT_300, 301 => self::TEXT_301, 302 => self::TEXT_302, 303 => self::TEXT_303, 304 => self::TEXT_304, 305 => self::TEXT_305, 306 => self::TEXT_306, 307 => self::TEXT_307, 308 => self::TEXT_308, 400 => self::TEXT_400, 401 => self::TEXT_401, 402 => self::TEXT_402, 403 => self::TEXT_403, 404 => self::TEXT_404, 405 => self::TEXT_405, 406 => self::TEXT_406, 407 => self::TEXT_407, 408 => self::TEXT_408, 409 => self::TEXT_409, 410 => self::TEXT_410, 411 => self::TEXT_411, 412 => self::TEXT_412, 413 => self::TEXT_413, 414 => self::TEXT_414, 415 => self::TEXT_415, 416 => self::TEXT_416, 417 => self::TEXT_417, 418 => self::TEXT_418, 421 => self::TEXT_421, 422 => self::TEXT_422, 423 => self::TEXT_423, 424 => self::TEXT_424, 425 => self::TEXT_425, 426 => self::TEXT_426, 428 => self::TEXT_428, 429 => self::TEXT_429, 431 => self::TEXT_431, 451 => self::TEXT_451, 500 => self::TEXT_500, 501 => self::TEXT_501, 502 => self::TEXT_502, 503 => self::TEXT_503, 504 => self::TEXT_504, 505 => self::TEXT_505, 506 => self::TEXT_506, 507 => self::TEXT_507, 508 => self::TEXT_508, 510 => self::TEXT_510, 511 => self::TEXT_511] + + + + + + + + + +
                          +
                          +

                          + TEXT_100 + + +

                          + + + +

                          HTTP response code 100 - Continue.

                          + + + + public + string + TEXT_100 + = 'Continue' + + + +

                          This interim response indicates that the client should continue the request or ignore the response if the request +is already finished.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_101 + + +

                          + + + +

                          HTTP response code 101 - Switching Protocols.

                          + + + + public + string + TEXT_101 + = 'Switching Protocols' + + + +

                          This code is sent in response to an Upgrade request header from the client, and indicates the protocol the server +is switching to.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_102 + + +

                          + + + +

                          HTTP response code 102 - Processing (WebDAV).

                          + + + + public + string + TEXT_102 + = 'Processing' + + + +

                          This code indicates that the server has received and is processing the request, but no response is available yet.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/102 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_103 + + +

                          + + + +

                          HTTP response code 103 - Early Hints.

                          + + + + public + string + TEXT_103 + = 'Early Hints' + + + +

                          This status code is primarily intended to be used with the Link header, letting the user agent start preloading +resources while the server prepares a response or preconnects to an origin from which the page will need +resources.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_200 + + +

                          + + + +

                          HTTP response code 200 - OK.

                          + + + + public + string + TEXT_200 + = 'OK' + + + +

                          The request has succeeded.

                          +

                          The result meaning of "success" depends on the HTTP method:

                          +
                            +
                          • GET: The resource has been fetched and transmitted in the message body.
                          • +
                          • HEAD: The representation headers are included in the response without any message body.
                          • +
                          • PUT or POST: The resource describing the result of the action is transmitted in the message body.
                          • +
                          • TRACE: The message body contains the request message as received by the server.
                          • +
                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_201 + + +

                          + + + +

                          HTTP response code 201 - Created.

                          + + + + public + string + TEXT_201 + = 'Created' + + + +

                          The request has succeeded and a new resource has been created as a result.

                          +

                          This is typically the response sent after POST requests, or some PUT requests.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_202 + + +

                          + + + +

                          HTTP response code 202 - Accepted.

                          + + + + public + string + TEXT_202 + = 'Accepted' + + + +

                          The request has been received but not yet acted upon.

                          +

                          It is noncommittal, since there is no way in HTTP to later send an asynchronous response indicating the outcome +of the request. It is intended for cases where another process or server handles the request, or for batch +processing.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_203 + + +

                          + + + +

                          HTTP response code 203 - Non-Authoritative Information.

                          + + + + public + string + TEXT_203 + = 'Non-Authoritative Information' + + + +

                          This response code means the returned metadata is not exactly the same as is available from the origin server, +but is collected from a local or a third-party copy.

                          +

                          This is mostly used for mirrors or backups of another resource. Except for that specific case, the 200 OK +response is preferred to this status.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_204 + + +

                          + + + +

                          HTTP response code 204 - No Content.

                          + + + + public + string + TEXT_204 + = 'No Content' + + + +

                          There is no content to send for this request, but the headers may be useful.

                          +

                          The user-agent may update its cached headers for this resource with the new ones.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204 + + +
                          +
                          + + + +
                          + +
                          +

                          + TEXT_206 + + +

                          + + + +

                          HTTP response code 206 - Partial Content.

                          + + + + public + string + TEXT_206 + = 'Partial Content' + + + +

                          This response code is used when the Range header is sent from the client to request only part of a resource.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_207 + + +

                          + + + +

                          HTTP response code 207 - Multi-Status (WebDAV).

                          + + + + public + string + TEXT_207 + = 'Multi-Status' + + + +

                          Conveys information about multiple resources, for situations where multiple status codes might be appropriate.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207 + + +
                          +
                          + + + +
                          + +
                          +

                          + TEXT_226 + + +

                          + + + +

                          HTTP response code 226 - IM Used (HTTP Delta encoding).

                          + + + + public + string + TEXT_226 + = 'IM Used' + + + +

                          This is mostly used for mirrors or backups of another resource. Except for that specific case, the 200 OK +response is preferred to this status.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/226 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_300 + + +

                          + + + +

                          HTTP response code 300 - Multiple Choices.

                          + + + + public + string + TEXT_300 + = 'Multiple Choices' + + + +

                          The request has more than one possible response.

                          +

                          The user agent or user should choose one of them. (There is no standardized way of choosing one of the responses, +but HTML links to the possibilities are recommended so the user can pick.)

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_301 + + +

                          + + + +

                          HTTP response code 301 - Moved Permanently.

                          + + + + public + string + TEXT_301 + = 'Moved Permanently' + + + +

                          The URL of the requested resource has been changed permanently.

                          +

                          The new URL is given in the response.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_302 + + +

                          + + + +

                          HTTP response code 302 - Found.

                          + + + + public + string + TEXT_302 + = 'Found' + + + +

                          This response code means that the URI of requested resource has been changed temporarily.

                          +

                          Further changes in the URI might be made in the future. Therefore, this same URI should be used by the client in +future requests.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_303 + + +

                          + + + +

                          HTTP response code 303 - See Other.

                          + + + + public + string + TEXT_303 + = 'See Other' + + + +

                          The server sent this response to direct the client to get the requested resource at another URI with a GET +request.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_304 + + +

                          + + + +

                          HTTP response code 304 - Not Modified.

                          + + + + public + string + TEXT_304 + = 'Not Modified' + + + +

                          This is used for caching purposes. It tells the client that the response has not been modified, so the client can +continue to use the same cached version of the response.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_305 + + +

                          + + + +

                          HTTP response code 305 - Use Proxy (DEPRECATED!).

                          + +
                          + +
                          + +
                          +
                          + + + public + string + TEXT_305 + = 'Use Proxy' + + + +

                          Was defined in a previous version of the HTTP specification to indicate that a requested response must be +accessed by a proxy.

                          +

                          It has been deprecated due to security concerns regarding in-band configuration of a proxy.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/305 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_306 + + +

                          + + + +

                          HTTP response code 306 - Switch Proxy (DEPRECATED!).

                          + +
                          + +
                          + +
                          +
                          + + + public + string + TEXT_306 + = 'Switch Proxy' + + + +

                          No longer used. Originally meant "Subsequent requests should use the specified proxy."

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/306 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_307 + + +

                          + + + +

                          HTTP response code 307 - Temporary Redirect.

                          + + + + public + string + TEXT_307 + = 'Temporary Redirect' + + + +

                          The server sends this response to direct the client to get the requested resource at another URI with same method +that was used in the prior request.

                          +

                          This has the same semantics as the 302 Found HTTP response code, with the exception that the user agent must not +change the HTTP method used: If a POST was used in the first request, a POST must be used in the second request.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_308 + + +

                          + + + +

                          HTTP response code 308 - Permanent Redirect.

                          + + + + public + string + TEXT_308 + = 'Permanent Redirect' + + + +

                          This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response +header.

                          +

                          This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user +agent must not change the HTTP method used: If a POST was used in the first request, a POST must be used in the +second request.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_400 + + +

                          + + + +

                          HTTP response code 400 - Bad Request.

                          + + + + public + string + TEXT_400 + = 'Bad Request' + + + +

                          The server cannot or will not process the request due to something that is perceived to be a client error (e.g., +malformed request syntax, invalid request message framing, or deceptive request routing).

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_401 + + +

                          + + + +

                          HTTP response code 401 - Unauthorized.

                          + + + + public + string + TEXT_401 + = 'Unauthorized' + + + +

                          Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, +the client must authenticate itself to get the requested response.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_402 + + +

                          + + + +

                          HTTP response code 402 - Payment Required (Experimental).

                          + + + + public + string + TEXT_402 + = 'Payment Required' + + + +

                          This response code is reserved for future use. The initial aim for creating this code was using it for digital +payment systems, however this status code is used very rarely and no standard convention exists.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_403 + + +

                          + + + +

                          HTTP response code 403 - Forbidden.

                          + + + + public + string + TEXT_403 + = 'Forbidden' + + + +

                          The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to +give the requested resource.

                          +

                          Unlike 401 Unauthorized, the client's identity is known to the server.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_404 + + +

                          + + + +

                          HTTP response code 404 - Not Found.

                          + + + + public + string + TEXT_404 + = 'Not Found' + + + +

                          The server cannot find the requested resource.

                          +

                          In the browser, this means the URL is not recognized.

                          +

                          In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also +send this response instead of 403 to hide the existence of a resource from an unauthorized client.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_405 + + +

                          + + + +

                          HTTP response code 405 - Method Not Allowed.

                          + + + + public + string + TEXT_405 + = 'Method Not Allowed' + + + +

                          The request method is known by the server but is not supported by the target resource. For example, an API may +not allow calling DELETE to remove a resource.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_406 + + +

                          + + + +

                          HTTP response code 406 - Not Acceptable.

                          + + + + public + string + TEXT_406 + = 'Not Acceptable' + + + +

                          This response is sent when the web server, after performing server-driven content negotiation, doesn't find any +content that conforms to the criteria given by the user agent.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_407 + + +

                          + + + +

                          HTTP response code 407 - Proxy Authentication Required.

                          + + + + public + string + TEXT_407 + = 'Proxy Authentication Required' + + + +

                          This is similar to 401 but authentication is needed to be done by a proxy.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_408 + + +

                          + + + +

                          HTTP response code 408 - Request Timeout.

                          + + + + public + string + TEXT_408 + = 'Request Timeout' + + + +

                          This response is sent on an idle connection by some servers, even without any previous request by the client.

                          +

                          It means that the server would like to shut down this unused connection. This response is used much more since +some browsers, like Chrome, Firefox 27+, or IE9, use HTTP pre-connection mechanisms to speed up surfing.

                          +

                          Also note that some servers merely shut down the connection without sending this message.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408 + + +
                          +
                          + + + +
                          + +
                          +

                          + TEXT_410 + + +

                          + + + +

                          HTTP response code 410 - Gone.

                          + + + + public + string + TEXT_410 + = 'Gone' + + + +

                          This response is sent when the requested content has been permanently deleted from server, with no forwarding +address.

                          +

                          Clients are expected to remove their caches and links to the resource. +The HTTP specification intends this status code to be used for "limited-time, promotional services". +APIs should not feel compelled to indicate resources that have been deleted with this status code.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_411 + + +

                          + + + +

                          HTTP response code 411 - Length Required.

                          + + + + public + string + TEXT_411 + = 'Length Required' + + + +

                          Server rejected the request because the Content-Length header field is not defined and the server requires it.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/411 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_412 + + +

                          + + + +

                          HTTP response code 412 - Precondition Failed.

                          + + + + public + string + TEXT_412 + = 'Precondition Failed' + + + +

                          The client has indicated preconditions in its headers which the server does not meet.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_413 + + +

                          + + + +

                          HTTP response code 413 - Payload Too Large.

                          + + + + public + string + TEXT_413 + = 'Payload Too Large' + + + +

                          Request entity is larger than limits defined by server; the server might close the connection or return an +Retry-After header field.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413 + + +
                          +
                          + + + +
                          + +
                          +

                          + TEXT_415 + + +

                          + + + +

                          HTTP response code 415 - Unsupported Media Type.

                          + + + + public + string + TEXT_415 + = 'Unsupported Media Type' + + + +

                          The media format of the requested data is not supported by the server, so the server is rejecting the request.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_416 + + +

                          + + + +

                          HTTP response code 416 - Range Not Satisfiable.

                          + + + + public + string + TEXT_416 + = 'Requested Range Not Satisfiable' + + + +

                          The range specified by the Range header field in the request can't be fulfilled; it's possible that the range is +outside the size of the target URI's data.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_417 + + +

                          + + + +

                          HTTP response code 417 - Expectation Failed.

                          + + + + public + string + TEXT_417 + = 'Expectation Failed' + + + +

                          This response code means the expectation indicated by the Expect request header field can't be met by the server.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/417 + + +
                          +
                          + + + +
                          + +
                          +

                          + TEXT_421 + + +

                          + + + +

                          HTTP response code 421 - Misdirected Request.

                          + + + + public + string + TEXT_421 + = 'Misdirected Request' + + + +

                          The request was directed at a server that is not able to produce a response.

                          +

                          This can be sent by a server that is not configured to produce responses for the combination of scheme and +authority that are included in the request URI.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_422 + + +

                          + + + +

                          HTTP response code 422 - Unprocessable Entity (WebDAV).

                          + + + + public + string + TEXT_422 + = 'Unprocessable Content' + + + +

                          The request was well-formed but was unable to be followed due to semantic errors.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422 + + +
                          +
                          + + + +
                          + + +
                          +

                          + TEXT_425 + + +

                          + + + +

                          HTTP response code 425 - Too Early (Experimental).

                          + + + + public + string + TEXT_425 + = 'Too Early' + + + +

                          Indicates that the server is unwilling to risk processing a request that might be replayed.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_426 + + +

                          + + + +

                          HTTP response code 426 - Upgrade Required.

                          + + + + public + string + TEXT_426 + = 'Upgrade Required' + + + +

                          The server refuses to perform the request using the current protocol but might be willing to do so after the +client upgrades to a different protocol.

                          +

                          The server sends an Upgrade header in a 426 response to indicate the required protocol(s).

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_428 + + +

                          + + + +

                          HTTP response code 428 - Precondition Required.

                          + + + + public + string + TEXT_428 + = 'Precondition Required' + + + +

                          The origin server requires the request to be conditional.

                          +

                          Intended to prevent the 'lost update' problem, where a client GETs a resource's state, modifies it, and PUTs it +back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428 + + +
                          +
                          + + + +
                          + +
                          +

                          + TEXT_431 + + +

                          + + + +

                          HTTP response code 431 - Request Header Fields Too Large.

                          + + + + public + string + TEXT_431 + = 'Request Header Fields Too Large' + + + +

                          The server is unwilling to process the request because its header fields are too large.

                          +

                          The request may be resubmitted after reducing the size of the request header fields.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_451 + + +

                          + + + +

                          HTTP response code 451 - Unavailable For Legal Reasons.

                          + + + + public + string + TEXT_451 + = 'Unavailable For Legal Reasons' + + + +

                          The user-agent requested a resource that cannot legally be provided, such as a web page censored by a government.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/451 + + +
                          +
                          + + + +
                          + +
                          +

                          + TEXT_501 + + +

                          + + + +

                          HTTP response code 501 - Not Implemented.

                          + + + + public + string + TEXT_501 + = 'Not Implemented' + + + +

                          The request method is not supported by the server and cannot be handled.

                          +

                          The only methods that servers are required to support (and therefore that must not return this code) are GET and +HEAD.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_502 + + +

                          + + + +

                          HTTP response code 502 - Bad Gateway.

                          + + + + public + string + TEXT_502 + = 'Bad Gateway' + + + +

                          This error response means that the server, while working as a gateway to get a response needed to handle the +request, got an invalid response.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_503 + + +

                          + + + +

                          HTTP response code 503 - Service Unavailable.

                          + + + + public + string + TEXT_503 + = 'Service Unavailable' + + + +

                          The server is not ready to handle the request.

                          +

                          Common causes are a server that is down for maintenance or that is overloaded.

                          +

                          Note that together with this response, a user-friendly page explaining the problem should be sent.

                          +

                          This responses should be used for temporary conditions and the Retry-After: HTTP header should, if possible, +contain the estimated time for the recovery of the service. The webmaster must also take care about the +caching-related headers that are sent along with this response, as these temporary condition responses should +usually not be cached.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_504 + + +

                          + + + +

                          HTTP response code 504 - Gateway Timeout.

                          + + + + public + string + TEXT_504 + = 'Gateway Timeout' + + + +

                          This error response is given when the server is acting as a gateway and cannot get a response in time.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_505 + + +

                          + + + +

                          HTTP response code 505 - HTTP Version Not Supported.

                          + + + + public + string + TEXT_505 + = 'HTTP Version Not Supported' + + + +

                          The HTTP version used in the request is not supported by the server.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_506 + + +

                          + + + +

                          HTTP response code 506 - Variant Also Negotiates.

                          + + + + public + string + TEXT_506 + = 'Variant Also Negotiates' + + + +

                          The server has an internal configuration error: the chosen variant resource is configured to engage in +transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506 + + +
                          +
                          + + + +
                          +
                          +

                          + TEXT_507 + + +

                          + + + +

                          HTTP response code 507 - Insufficient Storage (WebDAV).

                          + + + + public + string + TEXT_507 + = 'Insufficient Storage' + + + +

                          The method could not be performed on the resource because the server is unable to store the representation needed +to successfully complete the request.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507 + + +
                          +
                          + + + +
                          + + +
                          +

                          + TEXT_511 + + +

                          + + + +

                          HTTP response code 511 - Network Authentication Required.

                          + + + + public + string + TEXT_511 + = 'Network Authentication Required' + + + +

                          The 511 status code indicates that the client needs to authenticate to gain network access.

                          +
                          + + + +
                          + Tags + + +
                          +
                          +
                          + see +
                          +
                          + https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511 + + +
                          +
                          + + + +
                          +
                          + + + +
                          +

                          + Methods + + +

                          +
                          +

                          + get_text() + + +

                          + + +

                          Get the status message from a status code.

                          + + + public + static get_text(int|string $code) : string + +
                          +
                          + + +
                          Parameters
                          +
                          +
                          + $code + : int|string +
                          +
                          +

                          Status code.

                          +
                          + +
                          +
                          + + +
                          + Tags + + +
                          +
                          +
                          + throws +
                          +
                          + InvalidArgument + +

                          When the passed $code argument is not a valid status code.

                          +
                          + +
                          +
                          + + + +
                          +
                          Return values
                          + string + — +

                          Status message.

                          +
                          + +
                          + +
                          +
                          +

                          + is_valid_code() + + +

                          + + +

                          Verify whether a status code is valid.

                          + + + public + static is_valid_code(int|string $code) : bool + +
                          +
                          + + +
                          Parameters
                          +
                          +
                          + $code + : int|string +
                          +
                          +

                          Status code to check.

                          +
                          + +
                          +
                          + + + + + +
                          +
                          Return values
                          + bool + — +

                          Whether the status code is valid.

                          +
                          + +
                          + +
                          +
                          + +
                          +
                          +
                          +
                          +
                          
                          +        
                          + +
                          +
                          + + + +
                          +
                          +
                          + +
                          + On this page + + +
                          + +
                          +
                          +
                          +
                          +
                          +

                          Search results

                          + +
                          +
                          +
                            +
                            +
                            +
                            +
                            + + +
                            + + + + + + + + diff --git a/api-2.x/classes/WpOrg-Requests-Utility-InputValidator.html b/api-2.x/classes/WpOrg-Requests-Utility-InputValidator.html index ac58897a9..6797287bf 100644 --- a/api-2.x/classes/WpOrg-Requests-Utility-InputValidator.html +++ b/api-2.x/classes/WpOrg-Requests-Utility-InputValidator.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -160,7 +160,7 @@

                            @@ -169,6 +169,21 @@

                            +

                            + Tags + + +
                            +
                            +
                            + since +
                            +
                            + 2.0.0 + + +
                            +
                            @@ -230,6 +245,14 @@

                            Verify whether a received input parameter is "stringable".
                            +
                            + is_valid_rfc2616_token() + +  : bool +
                            +
                            Verify that a received input parameter is a valid "token name" according to the +specification in RFC 2616 (HTTP/1.1).
                            +

                            @@ -258,7 +281,7 @@

                            @@ -309,7 +332,7 @@

                            @@ -364,7 +387,7 @@

                            @@ -415,7 +438,7 @@

                            @@ -466,7 +489,7 @@

                            @@ -497,6 +520,83 @@

                            Parameters
                            +
                            +
                            Return values
                            + bool +
                            + + +
                            +

                            + is_valid_rfc2616_token() + + +

                            + + +

                            Verify that a received input parameter is a valid "token name" according to the +specification in RFC 2616 (HTTP/1.1).

                            + + + public + static is_valid_rfc2616_token(mixed $input) : bool + +
                            +
                            + +

                            The short version is: 1 or more ASCII characters, CTRL chars and separators not allowed. +For the long version, see the specs in the RFC.

                            +
                            + +
                            Parameters
                            +
                            +
                            + $input + : mixed +
                            +
                            +

                            Input parameter to verify.

                            +
                            + +
                            +
                            + + +
                            + Tags + + +
                            +
                            +
                            + link +
                            +
                            + https://datatracker.ietf.org/doc/html/rfc2616#section-2.2 + +
                            +
                            + since +
                            +
                            + 2.1.0 + + +
                            +
                            + + +
                            Return values
                            bool @@ -541,6 +641,8 @@
                            Return values
                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } @@ -621,6 +723,7 @@
                            Return values
                          • is_numeric_array_key()
                          • is_string_or_stringable()
                          • is_stringable_object()
                          • +
                          • is_valid_rfc2616_token()
                          • diff --git a/api-2.x/css/template.css b/api-2.x/css/template.css index d3d6f2253..21919c08f 100644 --- a/api-2.x/css/template.css +++ b/api-2.x/css/template.css @@ -100,6 +100,7 @@ display: block; font-size: var(--text-sm); border: 1px solid #f0f0f0; + margin-bottom: calc(var(--spacing-sm)); } .phpdocumentor .phpdocumentor-signature.-deprecated .phpdocumentor-signature__name { diff --git a/api-2.x/files/src-auth-basic.html b/api-2.x/files/src-auth-basic.html index f52772db2..737a1b807 100644 --- a/api-2.x/files/src-auth-basic.html +++ b/api-2.x/files/src-auth-basic.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Basic.php

                            -

                            Basic Authentication provider

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-auth.html b/api-2.x/files/src-auth.html index 97d941465..ab75da24d 100644 --- a/api-2.x/files/src-auth.html +++ b/api-2.x/files/src-auth.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Auth.php

                            -

                            Authentication provider interface

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-autoload.html b/api-2.x/files/src-autoload.html index dd710bbd8..5e21fc897 100644 --- a/api-2.x/files/src-autoload.html +++ b/api-2.x/files/src-autoload.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,13 +134,14 @@

                            Fil

                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -205,7 +221,6 @@

                            -

                            @@ -223,7 +238,7 @@

                            Autoload.php : - 120 + 122 @@ -254,7 +269,7 @@

                            Autoload.php : - 176 + 178 @@ -314,6 +329,8 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Capability.php

                            -

                            Capability interface declaring the known capabilities.

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-cookie-jar.html b/api-2.x/files/src-cookie-jar.html index d12abdde3..0126e6186 100644 --- a/api-2.x/files/src-cookie-jar.html +++ b/api-2.x/files/src-cookie-jar.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Jar.php

                            -

                            Cookie holder object

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-cookie.html b/api-2.x/files/src-cookie.html index 51eeeda40..06884a2b3 100644 --- a/api-2.x/files/src-cookie.html +++ b/api-2.x/files/src-cookie.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Cookie.php

                            -

                            Cookie storage object

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-argumentcount.html b/api-2.x/files/src-exception-argumentcount.html index 3224d319c..27ca1a7f6 100644 --- a/api-2.x/files/src-exception-argumentcount.html +++ b/api-2.x/files/src-exception-argumentcount.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,15 +134,46 @@

                            Fil

                            ArgumentCount.php

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -168,7 +199,6 @@

                            - @@ -208,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status304.html b/api-2.x/files/src-exception-http-status304.html index d4e85f464..00b3c3f9c 100644 --- a/api-2.x/files/src-exception-http-status304.html +++ b/api-2.x/files/src-exception-http-status304.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status304.php

                            -

                            Exception for 304 Not Modified responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status305.html b/api-2.x/files/src-exception-http-status305.html index 2f50332aa..f87e4de04 100644 --- a/api-2.x/files/src-exception-http-status305.html +++ b/api-2.x/files/src-exception-http-status305.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status305.php

                            -

                            Exception for 305 Use Proxy responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status306.html b/api-2.x/files/src-exception-http-status306.html index 8eb536660..1f96074c0 100644 --- a/api-2.x/files/src-exception-http-status306.html +++ b/api-2.x/files/src-exception-http-status306.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status306.php

                            -

                            Exception for 306 Switch Proxy responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status400.html b/api-2.x/files/src-exception-http-status400.html index 1d33f5464..2eed1299d 100644 --- a/api-2.x/files/src-exception-http-status400.html +++ b/api-2.x/files/src-exception-http-status400.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status400.php

                            -

                            Exception for 400 Bad Request responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status401.html b/api-2.x/files/src-exception-http-status401.html index af6b7e5b5..7a72d2bc9 100644 --- a/api-2.x/files/src-exception-http-status401.html +++ b/api-2.x/files/src-exception-http-status401.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status401.php

                            -

                            Exception for 401 Unauthorized responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status402.html b/api-2.x/files/src-exception-http-status402.html index 5658a9443..cc1d2a60a 100644 --- a/api-2.x/files/src-exception-http-status402.html +++ b/api-2.x/files/src-exception-http-status402.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status402.php

                            -

                            Exception for 402 Payment Required responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status403.html b/api-2.x/files/src-exception-http-status403.html index 49159f41e..b4313733e 100644 --- a/api-2.x/files/src-exception-http-status403.html +++ b/api-2.x/files/src-exception-http-status403.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status403.php

                            -

                            Exception for 403 Forbidden responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status404.html b/api-2.x/files/src-exception-http-status404.html index bfb940392..2f2e78d68 100644 --- a/api-2.x/files/src-exception-http-status404.html +++ b/api-2.x/files/src-exception-http-status404.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status404.php

                            -

                            Exception for 404 Not Found responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status405.html b/api-2.x/files/src-exception-http-status405.html index e7a95b8c9..526689334 100644 --- a/api-2.x/files/src-exception-http-status405.html +++ b/api-2.x/files/src-exception-http-status405.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status405.php

                            -

                            Exception for 405 Method Not Allowed responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status406.html b/api-2.x/files/src-exception-http-status406.html index 531528c7a..afe29ccd0 100644 --- a/api-2.x/files/src-exception-http-status406.html +++ b/api-2.x/files/src-exception-http-status406.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status406.php

                            -

                            Exception for 406 Not Acceptable responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status407.html b/api-2.x/files/src-exception-http-status407.html index 2601761de..a1bd3afc6 100644 --- a/api-2.x/files/src-exception-http-status407.html +++ b/api-2.x/files/src-exception-http-status407.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status407.php

                            -

                            Exception for 407 Proxy Authentication Required responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status408.html b/api-2.x/files/src-exception-http-status408.html index 76af104c0..64845bebf 100644 --- a/api-2.x/files/src-exception-http-status408.html +++ b/api-2.x/files/src-exception-http-status408.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status408.php

                            -

                            Exception for 408 Request Timeout responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status409.html b/api-2.x/files/src-exception-http-status409.html index da3b3192c..3ab2b2f51 100644 --- a/api-2.x/files/src-exception-http-status409.html +++ b/api-2.x/files/src-exception-http-status409.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status409.php

                            -

                            Exception for 409 Conflict responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status410.html b/api-2.x/files/src-exception-http-status410.html index 5a932022b..d483d592a 100644 --- a/api-2.x/files/src-exception-http-status410.html +++ b/api-2.x/files/src-exception-http-status410.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status410.php

                            -

                            Exception for 410 Gone responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status411.html b/api-2.x/files/src-exception-http-status411.html index 47bd700bd..f9c20258b 100644 --- a/api-2.x/files/src-exception-http-status411.html +++ b/api-2.x/files/src-exception-http-status411.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status411.php

                            -

                            Exception for 411 Length Required responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status412.html b/api-2.x/files/src-exception-http-status412.html index 9bc4e77ee..29c2e484a 100644 --- a/api-2.x/files/src-exception-http-status412.html +++ b/api-2.x/files/src-exception-http-status412.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status412.php

                            -

                            Exception for 412 Precondition Failed responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status413.html b/api-2.x/files/src-exception-http-status413.html index 290d78cf9..a1aff2448 100644 --- a/api-2.x/files/src-exception-http-status413.html +++ b/api-2.x/files/src-exception-http-status413.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status413.php

                            -

                            Exception for 413 Request Entity Too Large responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status414.html b/api-2.x/files/src-exception-http-status414.html index acb486677..7f1b2f5b6 100644 --- a/api-2.x/files/src-exception-http-status414.html +++ b/api-2.x/files/src-exception-http-status414.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status414.php

                            -

                            Exception for 414 Request-URI Too Large responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status415.html b/api-2.x/files/src-exception-http-status415.html index 476df1c6b..9085c2051 100644 --- a/api-2.x/files/src-exception-http-status415.html +++ b/api-2.x/files/src-exception-http-status415.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status415.php

                            -

                            Exception for 415 Unsupported Media Type responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status416.html b/api-2.x/files/src-exception-http-status416.html index 3a6eeb277..359e89700 100644 --- a/api-2.x/files/src-exception-http-status416.html +++ b/api-2.x/files/src-exception-http-status416.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status416.php

                            -

                            Exception for 416 Requested Range Not Satisfiable responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status417.html b/api-2.x/files/src-exception-http-status417.html index f44351054..8ceb68956 100644 --- a/api-2.x/files/src-exception-http-status417.html +++ b/api-2.x/files/src-exception-http-status417.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,16 +134,46 @@

                            Fil

                            Status417.php

                            -

                            Exception for 417 Expectation Failed responses

                            - - - - +

                            Requests for PHP, an HTTP library.

                            + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            +

                            Table of Contents @@ -169,7 +199,6 @@

                            - @@ -209,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status418.html b/api-2.x/files/src-exception-http-status418.html index 044d41818..e4ba841fd 100644 --- a/api-2.x/files/src-exception-http-status418.html +++ b/api-2.x/files/src-exception-http-status418.html @@ -69,6 +69,10 @@

                            Packages

                            +

                            + Application +

                            +

                            Requests

                            @@ -107,10 +111,6 @@

                            -

                            - Application -

                            -
                            @@ -134,11 +134,11 @@

                            Fil

                            Status418.php

                            -

                            Exception for 418 I'm A Teapot responses

                            - - - +

                            Requests for PHP, an HTTP library.

                            + + +
                            Tags @@ -146,18 +146,34 @@
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            + +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            + +
                            +
                            link
                            - https://tools.ietf.org/html/rfc2324 + https://github.com/WordPress/Requests
                            - - - +

                            Table of Contents @@ -183,7 +199,6 @@

                            - @@ -223,6 +238,8 @@

                            if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status421.html b/api-2.x/files/src-exception-http-status421.html new file mode 100644 index 000000000..9ee739011 --- /dev/null +++ b/api-2.x/files/src-exception-http-status421.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                            +

                            Requests 2.0.15 API

                            + + + + + +
                            + +
                            +
                            + + + + +
                            +
                            +
                              +
                            + +
                            +

                            Status421.php

                            + +

                            Requests for PHP, an HTTP library.

                            + + + + +
                            + Tags + + +
                            +
                            +
                            + copyright +
                            +
                            + +

                            2012-2023 Requests Contributors

                            +
                            + +
                            +
                            + license +
                            +
                            + +

                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                            +
                            + +
                            +
                            + link +
                            +
                            + https://github.com/WordPress/Requests + +
                            +
                            + + + +

                            + Table of Contents + + +

                            + + + + +

                            + Classes + + +

                            +
                            +
                            Status421
                            Exception for 421 Misdirected Request responses
                            + + + + + + + + + + + + +
                            +
                            +
                            +
                            +
                            
                            +        
                            + +
                            +
                            + + + +
                            +
                            +
                            + +
                            + On this page + +
                              +
                            • Table Of Contents
                            • +
                            • + +
                            • + + +
                            +
                            + +
                            +
                            +
                            +
                            +
                            +

                            Search results

                            + +
                            +
                            +
                              +
                              +
                              +
                              +
                              + + +
                              + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status422.html b/api-2.x/files/src-exception-http-status422.html new file mode 100644 index 000000000..477be03eb --- /dev/null +++ b/api-2.x/files/src-exception-http-status422.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                              +

                              Requests 2.0.15 API

                              + + + + + +
                              + +
                              +
                              + + + + +
                              +
                              +
                                +
                              + +
                              +

                              Status422.php

                              + +

                              Requests for PHP, an HTTP library.

                              + + + + +
                              + Tags + + +
                              +
                              +
                              + copyright +
                              +
                              + +

                              2012-2023 Requests Contributors

                              +
                              + +
                              +
                              + license +
                              +
                              + +

                              https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                              +
                              + +
                              +
                              + link +
                              +
                              + https://github.com/WordPress/Requests + +
                              +
                              + + + +

                              + Table of Contents + + +

                              + + + + +

                              + Classes + + +

                              +
                              +
                              Status422
                              Exception for 422 Unprocessable Content responses
                              + + + + + + + + + + + + +
                              +
                              +
                              +
                              +
                              
                              +        
                              + +
                              +
                              + + + +
                              +
                              +
                              + +
                              + On this page + +
                                +
                              • Table Of Contents
                              • +
                              • + +
                              • + + +
                              +
                              + +
                              +
                              +
                              +
                              +
                              +

                              Search results

                              + +
                              +
                              +
                                +
                                +
                                +
                                +
                                + + +
                                + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status423.html b/api-2.x/files/src-exception-http-status423.html new file mode 100644 index 000000000..6a757138d --- /dev/null +++ b/api-2.x/files/src-exception-http-status423.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                +

                                Requests 2.0.15 API

                                + + + + + +
                                + +
                                +
                                + + + + +
                                +
                                +
                                  +
                                + +
                                +

                                Status423.php

                                + +

                                Requests for PHP, an HTTP library.

                                + + + + +
                                + Tags + + +
                                +
                                +
                                + copyright +
                                +
                                + +

                                2012-2023 Requests Contributors

                                +
                                + +
                                +
                                + license +
                                +
                                + +

                                https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                +
                                + +
                                +
                                + link +
                                +
                                + https://github.com/WordPress/Requests + +
                                +
                                + + + +

                                + Table of Contents + + +

                                + + + + +

                                + Classes + + +

                                +
                                +
                                Status423
                                Exception for 423 Locked responses
                                + + + + + + + + + + + + +
                                +
                                +
                                +
                                +
                                
                                +        
                                + +
                                +
                                + + + +
                                +
                                +
                                + +
                                + On this page + +
                                  +
                                • Table Of Contents
                                • +
                                • + +
                                • + + +
                                +
                                + +
                                +
                                +
                                +
                                +
                                +

                                Search results

                                + +
                                +
                                +
                                  +
                                  +
                                  +
                                  +
                                  + + +
                                  + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status424.html b/api-2.x/files/src-exception-http-status424.html new file mode 100644 index 000000000..2958c5c14 --- /dev/null +++ b/api-2.x/files/src-exception-http-status424.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                  +

                                  Requests 2.0.15 API

                                  + + + + + +
                                  + +
                                  +
                                  + + + + +
                                  +
                                  +
                                    +
                                  + +
                                  +

                                  Status424.php

                                  + +

                                  Requests for PHP, an HTTP library.

                                  + + + + +
                                  + Tags + + +
                                  +
                                  +
                                  + copyright +
                                  +
                                  + +

                                  2012-2023 Requests Contributors

                                  +
                                  + +
                                  +
                                  + license +
                                  +
                                  + +

                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                  +
                                  + +
                                  +
                                  + link +
                                  +
                                  + https://github.com/WordPress/Requests + +
                                  +
                                  + + + +

                                  + Table of Contents + + +

                                  + + + + +

                                  + Classes + + +

                                  +
                                  +
                                  Status424
                                  Exception for 424 Failed Dependency responses
                                  + + + + + + + + + + + + +
                                  +
                                  +
                                  +
                                  +
                                  
                                  +        
                                  + +
                                  +
                                  + + + +
                                  +
                                  +
                                  + +
                                  + On this page + +
                                    +
                                  • Table Of Contents
                                  • +
                                  • + +
                                  • + + +
                                  +
                                  + +
                                  +
                                  +
                                  +
                                  +
                                  +

                                  Search results

                                  + +
                                  +
                                  +
                                    +
                                    +
                                    +
                                    +
                                    + + +
                                    + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status425.html b/api-2.x/files/src-exception-http-status425.html new file mode 100644 index 000000000..1875e4521 --- /dev/null +++ b/api-2.x/files/src-exception-http-status425.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                    +

                                    Requests 2.0.15 API

                                    + + + + + +
                                    + +
                                    +
                                    + + + + +
                                    +
                                    +
                                      +
                                    + +
                                    +

                                    Status425.php

                                    + +

                                    Requests for PHP, an HTTP library.

                                    + + + + +
                                    + Tags + + +
                                    +
                                    +
                                    + copyright +
                                    +
                                    + +

                                    2012-2023 Requests Contributors

                                    +
                                    + +
                                    +
                                    + license +
                                    +
                                    + +

                                    https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                    +
                                    + +
                                    +
                                    + link +
                                    +
                                    + https://github.com/WordPress/Requests + +
                                    +
                                    + + + +

                                    + Table of Contents + + +

                                    + + + + +

                                    + Classes + + +

                                    +
                                    +
                                    Status425
                                    Exception for 425 Too Early responses
                                    + + + + + + + + + + + + +
                                    +
                                    +
                                    +
                                    +
                                    
                                    +        
                                    + +
                                    +
                                    + + + +
                                    +
                                    +
                                    + +
                                    + On this page + +
                                      +
                                    • Table Of Contents
                                    • +
                                    • + +
                                    • + + +
                                    +
                                    + +
                                    +
                                    +
                                    +
                                    +
                                    +

                                    Search results

                                    + +
                                    +
                                    +
                                      +
                                      +
                                      +
                                      +
                                      + + +
                                      + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status426.html b/api-2.x/files/src-exception-http-status426.html new file mode 100644 index 000000000..811af1c61 --- /dev/null +++ b/api-2.x/files/src-exception-http-status426.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                      +

                                      Requests 2.0.15 API

                                      + + + + + +
                                      + +
                                      +
                                      + + + + +
                                      +
                                      +
                                        +
                                      + +
                                      +

                                      Status426.php

                                      + +

                                      Requests for PHP, an HTTP library.

                                      + + + + +
                                      + Tags + + +
                                      +
                                      +
                                      + copyright +
                                      +
                                      + +

                                      2012-2023 Requests Contributors

                                      +
                                      + +
                                      +
                                      + license +
                                      +
                                      + +

                                      https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                      +
                                      + +
                                      +
                                      + link +
                                      +
                                      + https://github.com/WordPress/Requests + +
                                      +
                                      + + + +

                                      + Table of Contents + + +

                                      + + + + +

                                      + Classes + + +

                                      +
                                      +
                                      Status426
                                      Exception for 426 Upgrade Required responses
                                      + + + + + + + + + + + + +
                                      +
                                      +
                                      +
                                      +
                                      
                                      +        
                                      + +
                                      +
                                      + + + +
                                      +
                                      +
                                      + +
                                      + On this page + +
                                        +
                                      • Table Of Contents
                                      • +
                                      • + +
                                      • + + +
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      +
                                      +

                                      Search results

                                      + +
                                      +
                                      +
                                        +
                                        +
                                        +
                                        +
                                        + + +
                                        + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status428.html b/api-2.x/files/src-exception-http-status428.html index 4a3cc8ba3..db7ad3b8b 100644 --- a/api-2.x/files/src-exception-http-status428.html +++ b/api-2.x/files/src-exception-http-status428.html @@ -69,6 +69,10 @@

                                        Packages

                                        +

                                        + Application +

                                        +

                                        Requests

                                        @@ -107,10 +111,6 @@

                                        -

                                        - Application -

                                        -
                                        @@ -134,11 +134,11 @@

                                        Fil

                                        Status428.php

                                        -

                                        Exception for 428 Precondition Required responses

                                        - - - +

                                        Requests for PHP, an HTTP library.

                                        + + +
                                        Tags @@ -146,18 +146,34 @@
                                        + copyright +
                                        +
                                        + +

                                        2012-2023 Requests Contributors

                                        +
                                        + +
                                        +
                                        + license +
                                        +
                                        + +

                                        https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                        +
                                        + +
                                        +
                                        link
                                        - https://tools.ietf.org/html/rfc6585 + https://github.com/WordPress/Requests
                                        - - - +

                                        Table of Contents @@ -183,7 +199,6 @@

                                        - @@ -223,6 +238,8 @@

                                        if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status429.html b/api-2.x/files/src-exception-http-status429.html index e2ec4a3a1..4419d5925 100644 --- a/api-2.x/files/src-exception-http-status429.html +++ b/api-2.x/files/src-exception-http-status429.html @@ -69,6 +69,10 @@

                                        Packages

                                        +

                                        + Application +

                                        +

                                        Requests

                                        @@ -107,10 +111,6 @@

                                        -

                                        - Application -

                                        -
                                        @@ -134,11 +134,11 @@

                                        Fil

                                        Status429.php

                                        -

                                        Exception for 429 Too Many Requests responses

                                        - - - +

                                        Requests for PHP, an HTTP library.

                                        + + +
                                        Tags @@ -146,18 +146,34 @@
                                        + copyright +
                                        +
                                        + +

                                        2012-2023 Requests Contributors

                                        +
                                        + +
                                        +
                                        + license +
                                        +
                                        + +

                                        https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                        +
                                        + +
                                        +
                                        link
                                        - https://tools.ietf.org/html/draft-nottingham-http-new-status-04 + https://github.com/WordPress/Requests
                                        - - - +

                                        Table of Contents @@ -183,7 +199,6 @@

                                        - @@ -223,6 +238,8 @@

                                        if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status431.html b/api-2.x/files/src-exception-http-status431.html index bb77f3451..00d589eba 100644 --- a/api-2.x/files/src-exception-http-status431.html +++ b/api-2.x/files/src-exception-http-status431.html @@ -69,6 +69,10 @@

                                        Packages

                                        +

                                        + Application +

                                        +

                                        Requests

                                        @@ -107,10 +111,6 @@

                                        -

                                        - Application -

                                        -
                                        @@ -134,11 +134,11 @@

                                        Fil

                                        Status431.php

                                        -

                                        Exception for 431 Request Header Fields Too Large responses

                                        - - - +

                                        Requests for PHP, an HTTP library.

                                        + + +
                                        Tags @@ -146,18 +146,34 @@
                                        + copyright +
                                        +
                                        + +

                                        2012-2023 Requests Contributors

                                        +
                                        + +
                                        +
                                        + license +
                                        +
                                        + +

                                        https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                        +
                                        + +
                                        +
                                        link
                                        - https://tools.ietf.org/html/rfc6585 + https://github.com/WordPress/Requests
                                        - - - +

                                        Table of Contents @@ -183,7 +199,6 @@

                                        - @@ -223,6 +238,8 @@

                                        if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status451.html b/api-2.x/files/src-exception-http-status451.html new file mode 100644 index 000000000..bfdac3c78 --- /dev/null +++ b/api-2.x/files/src-exception-http-status451.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                        +

                                        Requests 2.0.15 API

                                        + + + + + +
                                        + +
                                        +
                                        + + + + +
                                        +
                                        +
                                          +
                                        + +
                                        +

                                        Status451.php

                                        + +

                                        Requests for PHP, an HTTP library.

                                        + + + + +
                                        + Tags + + +
                                        +
                                        +
                                        + copyright +
                                        +
                                        + +

                                        2012-2023 Requests Contributors

                                        +
                                        + +
                                        +
                                        + license +
                                        +
                                        + +

                                        https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                        +
                                        + +
                                        +
                                        + link +
                                        +
                                        + https://github.com/WordPress/Requests + +
                                        +
                                        + + + +

                                        + Table of Contents + + +

                                        + + + + +

                                        + Classes + + +

                                        +
                                        +
                                        Status451
                                        Exception for 451 Unavailable For Legal Reasons responses
                                        + + + + + + + + + + + + +
                                        +
                                        +
                                        +
                                        +
                                        
                                        +        
                                        + +
                                        +
                                        + + + +
                                        +
                                        +
                                        + +
                                        + On this page + +
                                          +
                                        • Table Of Contents
                                        • +
                                        • + +
                                        • + + +
                                        +
                                        + +
                                        +
                                        +
                                        +
                                        +
                                        +

                                        Search results

                                        + +
                                        +
                                        +
                                          +
                                          +
                                          +
                                          +
                                          + + +
                                          + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status500.html b/api-2.x/files/src-exception-http-status500.html index 10d647db6..7a4b7f5f7 100644 --- a/api-2.x/files/src-exception-http-status500.html +++ b/api-2.x/files/src-exception-http-status500.html @@ -69,6 +69,10 @@

                                          Packages

                                          +

                                          + Application +

                                          +

                                          Requests

                                          @@ -107,10 +111,6 @@

                                          -

                                          - Application -

                                          -
                                          @@ -134,16 +134,46 @@

                                          Fil

                                          Status500.php

                                          -

                                          Exception for 500 Internal Server Error responses

                                          - - - - +

                                          Requests for PHP, an HTTP library.

                                          + + + +
                                          + Tags + + +
                                          +
                                          +
                                          + copyright +
                                          +
                                          + +

                                          2012-2023 Requests Contributors

                                          +
                                          +
                                          +
                                          + license +
                                          +
                                          + +

                                          https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                          +
                                          +
                                          +
                                          + link +
                                          +
                                          + https://github.com/WordPress/Requests + +
                                          +
                                          +

                                          Table of Contents @@ -169,7 +199,6 @@

                                          - @@ -209,6 +238,8 @@

                                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status501.html b/api-2.x/files/src-exception-http-status501.html index f673c652b..560c8ef9f 100644 --- a/api-2.x/files/src-exception-http-status501.html +++ b/api-2.x/files/src-exception-http-status501.html @@ -69,6 +69,10 @@

                                          Packages

                                          +

                                          + Application +

                                          +

                                          Requests

                                          @@ -107,10 +111,6 @@

                                          -

                                          - Application -

                                          -
                                          @@ -134,16 +134,46 @@

                                          Fil

                                          Status501.php

                                          -

                                          Exception for 501 Not Implemented responses

                                          - - - - +

                                          Requests for PHP, an HTTP library.

                                          + + + +
                                          + Tags + + +
                                          +
                                          +
                                          + copyright +
                                          +
                                          + +

                                          2012-2023 Requests Contributors

                                          +
                                          +
                                          +
                                          + license +
                                          +
                                          + +

                                          https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                          +
                                          +
                                          +
                                          + link +
                                          +
                                          + https://github.com/WordPress/Requests + +
                                          +
                                          +

                                          Table of Contents @@ -169,7 +199,6 @@

                                          - @@ -209,6 +238,8 @@

                                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status502.html b/api-2.x/files/src-exception-http-status502.html index d8d76300c..c32412614 100644 --- a/api-2.x/files/src-exception-http-status502.html +++ b/api-2.x/files/src-exception-http-status502.html @@ -69,6 +69,10 @@

                                          Packages

                                          +

                                          + Application +

                                          +

                                          Requests

                                          @@ -107,10 +111,6 @@

                                          -

                                          - Application -

                                          -
                                          @@ -134,16 +134,46 @@

                                          Fil

                                          Status502.php

                                          -

                                          Exception for 502 Bad Gateway responses

                                          - - - - +

                                          Requests for PHP, an HTTP library.

                                          + + + +
                                          + Tags + + +
                                          +
                                          +
                                          + copyright +
                                          +
                                          + +

                                          2012-2023 Requests Contributors

                                          +
                                          +
                                          +
                                          + license +
                                          +
                                          + +

                                          https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                          +
                                          +
                                          +
                                          + link +
                                          +
                                          + https://github.com/WordPress/Requests + +
                                          +
                                          +

                                          Table of Contents @@ -169,7 +199,6 @@

                                          - @@ -209,6 +238,8 @@

                                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status503.html b/api-2.x/files/src-exception-http-status503.html index 6747337a2..98895a76b 100644 --- a/api-2.x/files/src-exception-http-status503.html +++ b/api-2.x/files/src-exception-http-status503.html @@ -69,6 +69,10 @@

                                          Packages

                                          +

                                          + Application +

                                          +

                                          Requests

                                          @@ -107,10 +111,6 @@

                                          -

                                          - Application -

                                          -
                                          @@ -134,16 +134,46 @@

                                          Fil

                                          Status503.php

                                          -

                                          Exception for 503 Service Unavailable responses

                                          - - - - +

                                          Requests for PHP, an HTTP library.

                                          + + + +
                                          + Tags + + +
                                          +
                                          +
                                          + copyright +
                                          +
                                          + +

                                          2012-2023 Requests Contributors

                                          +
                                          +
                                          +
                                          + license +
                                          +
                                          + +

                                          https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                          +
                                          +
                                          +
                                          + link +
                                          +
                                          + https://github.com/WordPress/Requests + +
                                          +
                                          +

                                          Table of Contents @@ -169,7 +199,6 @@

                                          - @@ -209,6 +238,8 @@

                                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status504.html b/api-2.x/files/src-exception-http-status504.html index b4375b260..b459da60e 100644 --- a/api-2.x/files/src-exception-http-status504.html +++ b/api-2.x/files/src-exception-http-status504.html @@ -69,6 +69,10 @@

                                          Packages

                                          +

                                          + Application +

                                          +

                                          Requests

                                          @@ -107,10 +111,6 @@

                                          -

                                          - Application -

                                          -
                                          @@ -134,16 +134,46 @@

                                          Fil

                                          Status504.php

                                          -

                                          Exception for 504 Gateway Timeout responses

                                          - - - - +

                                          Requests for PHP, an HTTP library.

                                          + + + +
                                          + Tags + + +
                                          +
                                          +
                                          + copyright +
                                          +
                                          + +

                                          2012-2023 Requests Contributors

                                          +
                                          +
                                          +
                                          + license +
                                          +
                                          + +

                                          https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                          +
                                          +
                                          +
                                          + link +
                                          +
                                          + https://github.com/WordPress/Requests + +
                                          +
                                          +

                                          Table of Contents @@ -169,7 +199,6 @@

                                          - @@ -209,6 +238,8 @@

                                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status505.html b/api-2.x/files/src-exception-http-status505.html index b15a7d72f..a7f854464 100644 --- a/api-2.x/files/src-exception-http-status505.html +++ b/api-2.x/files/src-exception-http-status505.html @@ -69,6 +69,10 @@

                                          Packages

                                          +

                                          + Application +

                                          +

                                          Requests

                                          @@ -107,10 +111,6 @@

                                          -

                                          - Application -

                                          -
                                          @@ -134,16 +134,46 @@

                                          Fil

                                          Status505.php

                                          -

                                          Exception for 505 HTTP Version Not Supported responses

                                          - - - - +

                                          Requests for PHP, an HTTP library.

                                          + + + +
                                          + Tags + + +
                                          +
                                          +
                                          + copyright +
                                          +
                                          + +

                                          2012-2023 Requests Contributors

                                          +
                                          +
                                          +
                                          + license +
                                          +
                                          + +

                                          https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                          +
                                          +
                                          +
                                          + link +
                                          +
                                          + https://github.com/WordPress/Requests + +
                                          +
                                          +

                                          Table of Contents @@ -169,7 +199,6 @@

                                          - @@ -209,6 +238,8 @@

                                          if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-status506.html b/api-2.x/files/src-exception-http-status506.html new file mode 100644 index 000000000..1e5ba0f50 --- /dev/null +++ b/api-2.x/files/src-exception-http-status506.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                          +

                                          Requests 2.0.15 API

                                          + + + + + +
                                          + +
                                          +
                                          + + + + +
                                          +
                                          +
                                            +
                                          + +
                                          +

                                          Status506.php

                                          + +

                                          Requests for PHP, an HTTP library.

                                          + + + + +
                                          + Tags + + +
                                          +
                                          +
                                          + copyright +
                                          +
                                          + +

                                          2012-2023 Requests Contributors

                                          +
                                          + +
                                          +
                                          + license +
                                          +
                                          + +

                                          https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                          +
                                          + +
                                          +
                                          + link +
                                          +
                                          + https://github.com/WordPress/Requests + +
                                          +
                                          + + + +

                                          + Table of Contents + + +

                                          + + + + +

                                          + Classes + + +

                                          +
                                          +
                                          Status506
                                          Exception for 506 Variant Also Negotiates responses
                                          + + + + + + + + + + + + +
                                          +
                                          +
                                          +
                                          +
                                          
                                          +        
                                          + +
                                          +
                                          + + + +
                                          +
                                          +
                                          + +
                                          + On this page + +
                                            +
                                          • Table Of Contents
                                          • +
                                          • + +
                                          • + + +
                                          +
                                          + +
                                          +
                                          +
                                          +
                                          +
                                          +

                                          Search results

                                          + +
                                          +
                                          +
                                            +
                                            +
                                            +
                                            +
                                            + + +
                                            + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status507.html b/api-2.x/files/src-exception-http-status507.html new file mode 100644 index 000000000..85992b5ba --- /dev/null +++ b/api-2.x/files/src-exception-http-status507.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                            +

                                            Requests 2.0.15 API

                                            + + + + + +
                                            + +
                                            +
                                            + + + + +
                                            +
                                            +
                                              +
                                            + +
                                            +

                                            Status507.php

                                            + +

                                            Requests for PHP, an HTTP library.

                                            + + + + +
                                            + Tags + + +
                                            +
                                            +
                                            + copyright +
                                            +
                                            + +

                                            2012-2023 Requests Contributors

                                            +
                                            + +
                                            +
                                            + license +
                                            +
                                            + +

                                            https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                            +
                                            + +
                                            +
                                            + link +
                                            +
                                            + https://github.com/WordPress/Requests + +
                                            +
                                            + + + +

                                            + Table of Contents + + +

                                            + + + + +

                                            + Classes + + +

                                            +
                                            +
                                            Status507
                                            Exception for 507 Insufficient Storage responses
                                            + + + + + + + + + + + + +
                                            +
                                            +
                                            +
                                            +
                                            
                                            +        
                                            + +
                                            +
                                            + + + +
                                            +
                                            +
                                            + +
                                            + On this page + +
                                              +
                                            • Table Of Contents
                                            • +
                                            • + +
                                            • + + +
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            +
                                            +

                                            Search results

                                            + +
                                            +
                                            +
                                              +
                                              +
                                              +
                                              +
                                              + + +
                                              + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status508.html b/api-2.x/files/src-exception-http-status508.html new file mode 100644 index 000000000..8feae66d5 --- /dev/null +++ b/api-2.x/files/src-exception-http-status508.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                              +

                                              Requests 2.0.15 API

                                              + + + + + +
                                              + +
                                              +
                                              + + + + +
                                              +
                                              +
                                                +
                                              + +
                                              +

                                              Status508.php

                                              + +

                                              Requests for PHP, an HTTP library.

                                              + + + + +
                                              + Tags + + +
                                              +
                                              +
                                              + copyright +
                                              +
                                              + +

                                              2012-2023 Requests Contributors

                                              +
                                              + +
                                              +
                                              + license +
                                              +
                                              + +

                                              https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                              +
                                              + +
                                              +
                                              + link +
                                              +
                                              + https://github.com/WordPress/Requests + +
                                              +
                                              + + + +

                                              + Table of Contents + + +

                                              + + + + +

                                              + Classes + + +

                                              +
                                              +
                                              Status508
                                              Exception for 508 Loop Detected responses
                                              + + + + + + + + + + + + +
                                              +
                                              +
                                              +
                                              +
                                              
                                              +        
                                              + +
                                              +
                                              + + + +
                                              +
                                              +
                                              + +
                                              + On this page + +
                                                +
                                              • Table Of Contents
                                              • +
                                              • + +
                                              • + + +
                                              +
                                              + +
                                              +
                                              +
                                              +
                                              +
                                              +

                                              Search results

                                              + +
                                              +
                                              +
                                                +
                                                +
                                                +
                                                +
                                                + + +
                                                + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status510.html b/api-2.x/files/src-exception-http-status510.html new file mode 100644 index 000000000..fe385e4d6 --- /dev/null +++ b/api-2.x/files/src-exception-http-status510.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                                +

                                                Requests 2.0.15 API

                                                + + + + + +
                                                + +
                                                +
                                                + + + + +
                                                +
                                                +
                                                  +
                                                + +
                                                +

                                                Status510.php

                                                + +

                                                Requests for PHP, an HTTP library.

                                                + + + + +
                                                + Tags + + +
                                                +
                                                +
                                                + copyright +
                                                +
                                                + +

                                                2012-2023 Requests Contributors

                                                +
                                                + +
                                                +
                                                + license +
                                                +
                                                + +

                                                https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                +
                                                + +
                                                +
                                                + link +
                                                +
                                                + https://github.com/WordPress/Requests + +
                                                +
                                                + + + +

                                                + Table of Contents + + +

                                                + + + + +

                                                + Classes + + +

                                                +
                                                +
                                                Status510
                                                Exception for 510 Not Extended responses
                                                + + + + + + + + + + + + +
                                                +
                                                +
                                                +
                                                +
                                                
                                                +        
                                                + +
                                                +
                                                + + + +
                                                +
                                                +
                                                + +
                                                + On this page + +
                                                  +
                                                • Table Of Contents
                                                • +
                                                • + +
                                                • + + +
                                                +
                                                + +
                                                +
                                                +
                                                +
                                                +
                                                +

                                                Search results

                                                + +
                                                +
                                                +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  + + +
                                                  + + + + + + + + diff --git a/api-2.x/files/src-exception-http-status511.html b/api-2.x/files/src-exception-http-status511.html index e354a57f2..331e847d7 100644 --- a/api-2.x/files/src-exception-http-status511.html +++ b/api-2.x/files/src-exception-http-status511.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,11 +134,11 @@

                                                  Fil

                                                  Status511.php

                                                  -

                                                  Exception for 511 Network Authentication Required responses

                                                  - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + +
                                                  Tags @@ -146,18 +146,34 @@
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  + +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  + +
                                                  +
                                                  link
                                                  - https://tools.ietf.org/html/rfc6585 + https://github.com/WordPress/Requests
                                                  - - - +

                                                  Table of Contents @@ -183,7 +199,6 @@

                                                  - @@ -223,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http-statusunknown.html b/api-2.x/files/src-exception-http-statusunknown.html index fe205a729..ac7500f0d 100644 --- a/api-2.x/files/src-exception-http-statusunknown.html +++ b/api-2.x/files/src-exception-http-statusunknown.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  StatusUnknown.php

                                                  -

                                                  Exception for unknown status responses

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-http.html b/api-2.x/files/src-exception-http.html index cb594b80a..a7714cb33 100644 --- a/api-2.x/files/src-exception-http.html +++ b/api-2.x/files/src-exception-http.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Http.php

                                                  -

                                                  Exception based on HTTP response

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-invalidargument.html b/api-2.x/files/src-exception-invalidargument.html index 6bb4a462f..657beef41 100644 --- a/api-2.x/files/src-exception-invalidargument.html +++ b/api-2.x/files/src-exception-invalidargument.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,15 +134,46 @@

                                                  Fil

                                                  InvalidArgument.php

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -168,7 +199,6 @@

                                                  - @@ -208,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-transport-curl.html b/api-2.x/files/src-exception-transport-curl.html index 770d0e965..5366473d2 100644 --- a/api-2.x/files/src-exception-transport-curl.html +++ b/api-2.x/files/src-exception-transport-curl.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Curl.php

                                                  -

                                                  CURL Transport Exception.

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception-transport.html b/api-2.x/files/src-exception-transport.html index 72329e76e..d2c3419eb 100644 --- a/api-2.x/files/src-exception-transport.html +++ b/api-2.x/files/src-exception-transport.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Transport.php

                                                  -

                                                  Transport Exception

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-exception.html b/api-2.x/files/src-exception.html index db6c924f6..65e697750 100644 --- a/api-2.x/files/src-exception.html +++ b/api-2.x/files/src-exception.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Exception.php

                                                  -

                                                  Exception for HTTP requests

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-hookmanager.html b/api-2.x/files/src-hookmanager.html index a96f3ad7e..c890a7707 100644 --- a/api-2.x/files/src-hookmanager.html +++ b/api-2.x/files/src-hookmanager.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  HookManager.php

                                                  -

                                                  Event dispatcher

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-hooks.html b/api-2.x/files/src-hooks.html index c70f3b0b1..359489764 100644 --- a/api-2.x/files/src-hooks.html +++ b/api-2.x/files/src-hooks.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Hooks.php

                                                  -

                                                  Handles adding and dispatching events

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-idnaencoder.html b/api-2.x/files/src-idnaencoder.html index 02aa7ff37..fd226b466 100644 --- a/api-2.x/files/src-idnaencoder.html +++ b/api-2.x/files/src-idnaencoder.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,15 +134,46 @@

                                                  Fil

                                                  IdnaEncoder.php

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -168,7 +199,6 @@

                                                  - @@ -208,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-ipv6.html b/api-2.x/files/src-ipv6.html index 158b3efb3..db4c25499 100644 --- a/api-2.x/files/src-ipv6.html +++ b/api-2.x/files/src-ipv6.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Ipv6.php

                                                  -

                                                  Class to validate and to work with IPv6 addresses

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-iri.html b/api-2.x/files/src-iri.html index 373d5ca7d..a9ef1eac8 100644 --- a/api-2.x/files/src-iri.html +++ b/api-2.x/files/src-iri.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Iri.php

                                                  -

                                                  IRI parser/serialiser/normaliser

                                                  - - - - +

                                                  IRI, part of Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2007-2009 Geoffrey Sneddon and Steve Minutillo

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://opensource.org/licenses/bsd-license.php

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + http://hg.gsnedders.com/iri/ + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-port.html b/api-2.x/files/src-port.html index decad98aa..45e6e048b 100644 --- a/api-2.x/files/src-port.html +++ b/api-2.x/files/src-port.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,11 +134,11 @@

                                                  Fil

                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -174,8 +189,7 @@

                                                  -
                                                  Port
                                                  Find the correct port depending on the Request type.
                                                  - +
                                                  Port
                                                  Port utilities for Requests
                                                  @@ -224,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-proxy-http.html b/api-2.x/files/src-proxy-http.html index 0808fa32c..fc66856f3 100644 --- a/api-2.x/files/src-proxy-http.html +++ b/api-2.x/files/src-proxy-http.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,11 +134,11 @@

                                                  Fil

                                                  Http.php

                                                  -

                                                  HTTP Proxy connection interface

                                                  - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + +
                                                  Tags @@ -146,19 +146,34 @@
                                                  - since + copyright
                                                  - 1.6 - -
                                                  -
                                                  - +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  + +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  + +

                                                  Table of Contents @@ -184,7 +199,6 @@

                                                  - @@ -224,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-proxy.html b/api-2.x/files/src-proxy.html index e637a64d6..49cbff9c0 100644 --- a/api-2.x/files/src-proxy.html +++ b/api-2.x/files/src-proxy.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,11 +134,11 @@

                                                  Fil

                                                  Proxy.php

                                                  -

                                                  Proxy connection interface

                                                  - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + +
                                                  Tags @@ -146,19 +146,34 @@
                                                  - since + copyright
                                                  - 1.6 - -
                                                  -
                                                  - +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  + +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  + +

                                                  Table of Contents @@ -184,7 +199,6 @@

                                                  - @@ -224,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-requests.html b/api-2.x/files/src-requests.html index e011599fb..c46bab996 100644 --- a/api-2.x/files/src-requests.html +++ b/api-2.x/files/src-requests.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,19 +134,46 @@

                                                  Fil

                                                  Requests.php

                                                  -

                                                  Requests for PHP

                                                  - +

                                                  Requests for PHP, an HTTP library.

                                                  -

                                                  Inspired by Requests for Python.

                                                  -

                                                  Based on concepts from SimplePie_File, RequestCore and WP_Http.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  - - - +

                                                  Table of Contents @@ -172,7 +199,6 @@

                                                  - @@ -212,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-response-headers.html b/api-2.x/files/src-response-headers.html index 489784702..0f48cd4bf 100644 --- a/api-2.x/files/src-response-headers.html +++ b/api-2.x/files/src-response-headers.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Headers.php

                                                  -

                                                  Case-insensitive dictionary, suitable for HTTP headers

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-response.html b/api-2.x/files/src-response.html index aba8a0f2e..ce7f88243 100644 --- a/api-2.x/files/src-response.html +++ b/api-2.x/files/src-response.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,18 +134,46 @@

                                                  Fil

                                                  Response.php

                                                  -

                                                  HTTP response class

                                                  - +

                                                  Requests for PHP, an HTTP library.

                                                  -

                                                  Contains a response from \WpOrg\Requests\Requests::request()

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  - - - +

                                                  Table of Contents @@ -171,7 +199,6 @@

                                                  - @@ -211,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-session.html b/api-2.x/files/src-session.html index 83549d27e..5629534c9 100644 --- a/api-2.x/files/src-session.html +++ b/api-2.x/files/src-session.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Session.php

                                                  -

                                                  Session handler for persistent requests and default parameters

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-ssl.html b/api-2.x/files/src-ssl.html index 85b2512ab..a7d072230 100644 --- a/api-2.x/files/src-ssl.html +++ b/api-2.x/files/src-ssl.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Ssl.php

                                                  -

                                                  SSL utilities for Requests

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-transport-curl.html b/api-2.x/files/src-transport-curl.html index cf39e9ccf..016320052 100644 --- a/api-2.x/files/src-transport-curl.html +++ b/api-2.x/files/src-transport-curl.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Curl.php

                                                  -

                                                  cURL HTTP transport

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -159,8 +189,7 @@

                                                  -
                                                  Curl
                                                  cURL HTTP transport
                                                  - +
                                                  Curl
                                                  HTTP transport using libcurl.
                                                  @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-transport-fsockopen.html b/api-2.x/files/src-transport-fsockopen.html index 004adcf80..0e85718c6 100644 --- a/api-2.x/files/src-transport-fsockopen.html +++ b/api-2.x/files/src-transport-fsockopen.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Fsockopen.php

                                                  -

                                                  fsockopen HTTP transport

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-transport.html b/api-2.x/files/src-transport.html index 43d4f7b9e..081eafbcd 100644 --- a/api-2.x/files/src-transport.html +++ b/api-2.x/files/src-transport.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  Transport.php

                                                  -

                                                  Base HTTP transport

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-utility-caseinsensitivedictionary.html b/api-2.x/files/src-utility-caseinsensitivedictionary.html index 9c9aa366b..7d6fcc7ac 100644 --- a/api-2.x/files/src-utility-caseinsensitivedictionary.html +++ b/api-2.x/files/src-utility-caseinsensitivedictionary.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  CaseInsensitiveDictionary.php

                                                  -

                                                  Case-insensitive dictionary, suitable for HTTP headers

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-utility-filterediterator.html b/api-2.x/files/src-utility-filterediterator.html index c59c63b37..68f7b425f 100644 --- a/api-2.x/files/src-utility-filterediterator.html +++ b/api-2.x/files/src-utility-filterediterator.html @@ -69,6 +69,10 @@

                                                  Packages

                                                  +

                                                  + Application +

                                                  +

                                                  Requests

                                                  @@ -107,10 +111,6 @@

                                                  -

                                                  - Application -

                                                  -
                                                  @@ -134,16 +134,46 @@

                                                  Fil

                                                  FilteredIterator.php

                                                  -

                                                  Iterator for arrays requiring filtered values

                                                  - - - - +

                                                  Requests for PHP, an HTTP library.

                                                  + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  +

                                                  Table of Contents @@ -169,7 +199,6 @@

                                                  - @@ -209,6 +238,8 @@

                                                  if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/files/src-utility-httpstatus.html b/api-2.x/files/src-utility-httpstatus.html new file mode 100644 index 000000000..613b10473 --- /dev/null +++ b/api-2.x/files/src-utility-httpstatus.html @@ -0,0 +1,344 @@ + + + + + Requests 2.0.15 API + + + + + + + + + + + + + + + + + + + + + +
                                                  +

                                                  Requests 2.0.15 API

                                                  + + + + + +
                                                  + +
                                                  +
                                                  + + + + +
                                                  +
                                                  +
                                                    +
                                                  + +
                                                  +

                                                  HttpStatus.php

                                                  + +

                                                  Requests for PHP, an HTTP library.

                                                  + + + + +
                                                  + Tags + + +
                                                  +
                                                  +
                                                  + copyright +
                                                  +
                                                  + +

                                                  2012-2023 Requests Contributors

                                                  +
                                                  + +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                  +
                                                  + +
                                                  +
                                                  + link +
                                                  +
                                                  + https://github.com/WordPress/Requests + +
                                                  +
                                                  + + + +

                                                  + Table of Contents + + +

                                                  + + + + +

                                                  + Classes + + +

                                                  +
                                                  +
                                                  HttpStatus
                                                  Helper class for dealing with HTTP status codes.
                                                  + + + + + + + + + + + + +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  
                                                  +        
                                                  + +
                                                  +
                                                  + + + +
                                                  +
                                                  +
                                                  + +
                                                  + On this page + +
                                                    +
                                                  • Table Of Contents
                                                  • +
                                                  • + +
                                                  • + + +
                                                  +
                                                  + +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  +

                                                  Search results

                                                  + +
                                                  +
                                                  +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    + + +
                                                    + + + + + + + + diff --git a/api-2.x/files/src-utility-inputvalidator.html b/api-2.x/files/src-utility-inputvalidator.html index a2854e020..7d8794f6c 100644 --- a/api-2.x/files/src-utility-inputvalidator.html +++ b/api-2.x/files/src-utility-inputvalidator.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -134,16 +134,46 @@

                                                    Fil

                                                    InputValidator.php

                                                    -

                                                    Input validation utilities.

                                                    - - - - +

                                                    Requests for PHP, an HTTP library.

                                                    + + + +
                                                    + Tags + + +
                                                    +
                                                    +
                                                    + copyright +
                                                    +
                                                    + +

                                                    2012-2023 Requests Contributors

                                                    +
                                                    +
                                                    +
                                                    + license +
                                                    +
                                                    + +

                                                    https://github.com/WordPress/Requests/blob/stable/LICENSE ISC

                                                    +
                                                    +
                                                    +
                                                    + link +
                                                    +
                                                    + https://github.com/WordPress/Requests + +
                                                    +
                                                    +

                                                    Table of Contents @@ -169,7 +199,6 @@

                                                    - @@ -209,6 +238,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/graphs/classes.html b/api-2.x/graphs/classes.html index ff3fea37d..b3bfd5268 100644 --- a/api-2.x/graphs/classes.html +++ b/api-2.x/graphs/classes.html @@ -57,6 +57,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -95,10 +99,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    diff --git a/api-2.x/index.html b/api-2.x/index.html index 9c2902eae..9031297fb 100644 --- a/api-2.x/index.html +++ b/api-2.x/index.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -144,8 +144,8 @@

                                                    -
                                                    Requests
                                                    Application
                                                    +
                                                    Requests

                                                    @@ -202,7 +202,7 @@

                                                    Autoload.php : - 120 + 122 @@ -233,7 +233,7 @@

                                                    Autoload.php : - 176 + 178 diff --git a/api-2.x/indices/files.html b/api-2.x/indices/files.html index 786131f2b..d2ff9248f 100644 --- a/api-2.x/indices/files.html +++ b/api-2.x/indices/files.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -164,6 +164,7 @@

                                                    H

                                                  • Hooks.php
                                                  • Http.php
                                                  • Http.php
                                                  • +
                                                  • HttpStatus.php
                                                  • I

                                                    diff --git a/api-2.x/js/searchIndex.js b/api-2.x/js/searchIndex.js index fd613fbeb..bc2139574 100644 --- a/api-2.x/js/searchIndex.js +++ b/api-2.x/js/searchIndex.js @@ -18,12 +18,12 @@ Search.appendIndex( }, { "fqsen": "\\WpOrg\\Requests\\Auth\\Basic\u003A\u003Acurl_before_send\u0028\u0029", "name": "curl_before_send", - "summary": "Set\u0020cURL\u0020parameters\u0020before\u0020the\u0020data\u0020is\u0020sent", + "summary": "Set\u0020cURL\u0020parameters\u0020before\u0020the\u0020data\u0020is\u0020sent.", "url": "classes/WpOrg-Requests-Auth-Basic.html#method_curl_before_send" }, { "fqsen": "\\WpOrg\\Requests\\Auth\\Basic\u003A\u003Afsockopen_header\u0028\u0029", "name": "fsockopen_header", - "summary": "Add\u0020extra\u0020headers\u0020to\u0020the\u0020request\u0020before\u0020sending", + "summary": "Add\u0020extra\u0020headers\u0020to\u0020the\u0020request\u0020before\u0020sending.", "url": "classes/WpOrg-Requests-Auth-Basic.html#method_fsockopen_header" }, { "fqsen": "\\WpOrg\\Requests\\Auth\\Basic\u003A\u003AgetAuthString\u0028\u0029", @@ -70,6 +70,11 @@ Search.appendIndex( "name": "load", "summary": "Autoloader.", "url": "classes/WpOrg-Requests-Autoload.html#method_load" + }, { + "fqsen": "\\WpOrg\\Requests\\Autoload\u003A\u003Aget_deprecated_classes\u0028\u0029", + "name": "get_deprecated_classes", + "summary": "Get\u0020the\u0020array\u0020of\u0020deprecated\u0020Requests\u00201.x\u0020classes\u0020mapped\u0020to\u0020their\u0020equivalent\u0020Requests\u00202.x\u0020implementation.", + "url": "classes/WpOrg-Requests-Autoload.html#method_get_deprecated_classes" }, { "fqsen": "\\WpOrg\\Requests\\Capability", "name": "Capability", @@ -575,6 +580,96 @@ Search.appendIndex( "name": "reason", "summary": "Reason\u0020phrase", "url": "classes/WpOrg-Requests-Exception-Http-Status418.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status421", + "name": "Status421", + "summary": "Exception\u0020for\u0020421\u0020Misdirected\u0020Request\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status421.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status421\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status421.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status421\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status421.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status422", + "name": "Status422", + "summary": "Exception\u0020for\u0020422\u0020Unprocessable\u0020Content\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status422.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status422\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status422.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status422\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status422.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status423", + "name": "Status423", + "summary": "Exception\u0020for\u0020423\u0020Locked\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status423.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status423\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status423.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status423\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status423.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status424", + "name": "Status424", + "summary": "Exception\u0020for\u0020424\u0020Failed\u0020Dependency\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status424.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status424\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status424.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status424\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status424.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status425", + "name": "Status425", + "summary": "Exception\u0020for\u0020425\u0020Too\u0020Early\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status425.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status425\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status425.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status425\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status425.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status426", + "name": "Status426", + "summary": "Exception\u0020for\u0020426\u0020Upgrade\u0020Required\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status426.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status426\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status426.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status426\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status426.html#property_reason" }, { "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status428", "name": "Status428", @@ -620,6 +715,21 @@ Search.appendIndex( "name": "reason", "summary": "Reason\u0020phrase", "url": "classes/WpOrg-Requests-Exception-Http-Status431.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status451", + "name": "Status451", + "summary": "Exception\u0020for\u0020451\u0020Unavailable\u0020For\u0020Legal\u0020Reasons\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status451.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status451\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status451.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status451\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status451.html#property_reason" }, { "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status500", "name": "Status500", @@ -710,6 +820,66 @@ Search.appendIndex( "name": "reason", "summary": "Reason\u0020phrase", "url": "classes/WpOrg-Requests-Exception-Http-Status505.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status506", + "name": "Status506", + "summary": "Exception\u0020for\u0020506\u0020Variant\u0020Also\u0020Negotiates\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status506.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status506\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status506.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status506\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status506.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status507", + "name": "Status507", + "summary": "Exception\u0020for\u0020507\u0020Insufficient\u0020Storage\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status507.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status507\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status507.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status507\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status507.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status508", + "name": "Status508", + "summary": "Exception\u0020for\u0020508\u0020Loop\u0020Detected\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status508.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status508\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status508.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status508\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status508.html#property_reason" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status510", + "name": "Status510", + "summary": "Exception\u0020for\u0020510\u0020Not\u0020Extended\u0020responses", + "url": "classes/WpOrg-Requests-Exception-Http-Status510.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status510\u003A\u003A\u0024code", + "name": "code", + "summary": "HTTP\u0020status\u0020code", + "url": "classes/WpOrg-Requests-Exception-Http-Status510.html#property_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status510\u003A\u003A\u0024reason", + "name": "reason", + "summary": "Reason\u0020phrase", + "url": "classes/WpOrg-Requests-Exception-Http-Status510.html#property_reason" }, { "fqsen": "\\WpOrg\\Requests\\Exception\\Http\\Status511", "name": "Status511", @@ -1183,7 +1353,7 @@ Search.appendIndex( }, { "fqsen": "\\WpOrg\\Requests\\Port", "name": "Port", - "summary": "Find\u0020the\u0020correct\u0020port\u0020depending\u0020on\u0020the\u0020Request\u0020type.", + "summary": "Port\u0020utilities\u0020for\u0020Requests", "url": "classes/WpOrg-Requests-Port.html" }, { "fqsen": "\\WpOrg\\Requests\\Port\u003A\u003Aget\u0028\u0029", @@ -1703,7 +1873,7 @@ Search.appendIndex( }, { "fqsen": "\\WpOrg\\Requests\\Transport\\Curl", "name": "Curl", - "summary": "cURL\u0020HTTP\u0020transport", + "summary": "HTTP\u0020transport\u0020using\u0020libcurl.", "url": "classes/WpOrg-Requests-Transport-Curl.html" }, { "fqsen": "\\WpOrg\\Requests\\Transport\\Curl\u003A\u003A__construct\u0028\u0029", @@ -1906,20 +2076,350 @@ Search.appendIndex( "summary": "Prevent\u0020unserialization\u0020of\u0020the\u0020object\u0020for\u0020security\u0020reasons.", "url": "classes/WpOrg-Requests-Utility-FilteredIterator.html#method___unserialize" }, { - "fqsen": "\\WpOrg\\Requests\\Utility\\FilteredIterator\u003A\u003A__wakeup\u0028\u0029", - "name": "__wakeup", - "summary": "Perform\u0020reinitialization\u0020tasks.", - "url": "classes/WpOrg-Requests-Utility-FilteredIterator.html#method___wakeup" + "fqsen": "\\WpOrg\\Requests\\Utility\\FilteredIterator\u003A\u003Aunserialize\u0028\u0029", + "name": "unserialize", + "summary": "Prevent\u0020creating\u0020a\u0020PHP\u0020value\u0020from\u0020a\u0020stored\u0020representation\u0020of\u0020the\u0020object\u0020for\u0020security\u0020reasons.", + "url": "classes/WpOrg-Requests-Utility-FilteredIterator.html#method_unserialize" }, { "fqsen": "\\WpOrg\\Requests\\Utility\\FilteredIterator\u003A\u003Acurrent\u0028\u0029", "name": "current", "summary": "Get\u0020the\u0020current\u0020item\u0027s\u0020value\u0020after\u0020filtering", "url": "classes/WpOrg-Requests-Utility-FilteredIterator.html#method_current" }, { - "fqsen": "\\WpOrg\\Requests\\Utility\\FilteredIterator\u003A\u003Aunserialize\u0028\u0029", - "name": "unserialize", - "summary": "Prevent\u0020creating\u0020a\u0020PHP\u0020value\u0020from\u0020a\u0020stored\u0020representation\u0020of\u0020the\u0020object\u0020for\u0020security\u0020reasons.", - "url": "classes/WpOrg-Requests-Utility-FilteredIterator.html#method_unserialize" + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus", + "name": "HttpStatus", + "summary": "Helper\u0020class\u0020for\u0020dealing\u0020with\u0020HTTP\u0020status\u0020codes.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003Aget_text\u0028\u0029", + "name": "get_text", + "summary": "Get\u0020the\u0020status\u0020message\u0020from\u0020a\u0020status\u0020code.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#method_get_text" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003Ais_valid_code\u0028\u0029", + "name": "is_valid_code", + "summary": "Verify\u0020whether\u0020a\u0020status\u0020code\u0020is\u0020valid.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#method_is_valid_code" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_100", + "name": "TEXT_100", + "summary": "HTTP\u0020response\u0020code\u0020100\u0020\u002D\u0020Continue.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_100" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_101", + "name": "TEXT_101", + "summary": "HTTP\u0020response\u0020code\u0020101\u0020\u002D\u0020Switching\u0020Protocols.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_101" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_102", + "name": "TEXT_102", + "summary": "HTTP\u0020response\u0020code\u0020102\u0020\u002D\u0020Processing\u0020\u0028WebDAV\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_102" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_103", + "name": "TEXT_103", + "summary": "HTTP\u0020response\u0020code\u0020103\u0020\u002D\u0020Early\u0020Hints.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_103" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_200", + "name": "TEXT_200", + "summary": "HTTP\u0020response\u0020code\u0020200\u0020\u002D\u0020OK.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_200" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_201", + "name": "TEXT_201", + "summary": "HTTP\u0020response\u0020code\u0020201\u0020\u002D\u0020Created.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_201" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_202", + "name": "TEXT_202", + "summary": "HTTP\u0020response\u0020code\u0020202\u0020\u002D\u0020Accepted.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_202" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_203", + "name": "TEXT_203", + "summary": "HTTP\u0020response\u0020code\u0020203\u0020\u002D\u0020Non\u002DAuthoritative\u0020Information.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_203" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_204", + "name": "TEXT_204", + "summary": "HTTP\u0020response\u0020code\u0020204\u0020\u002D\u0020No\u0020Content.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_204" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_205", + "name": "TEXT_205", + "summary": "HTTP\u0020response\u0020code\u0020205\u0020\u002D\u0020Reset\u0020Content.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_205" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_206", + "name": "TEXT_206", + "summary": "HTTP\u0020response\u0020code\u0020206\u0020\u002D\u0020Partial\u0020Content.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_206" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_207", + "name": "TEXT_207", + "summary": "HTTP\u0020response\u0020code\u0020207\u0020\u002D\u0020Multi\u002DStatus\u0020\u0028WebDAV\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_207" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_208", + "name": "TEXT_208", + "summary": "HTTP\u0020response\u0020code\u0020208\u0020\u002D\u0020Already\u0020Reported\u0020\u0028WebDAV\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_208" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_226", + "name": "TEXT_226", + "summary": "HTTP\u0020response\u0020code\u0020226\u0020\u002D\u0020IM\u0020Used\u0020\u0028HTTP\u0020Delta\u0020encoding\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_226" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_300", + "name": "TEXT_300", + "summary": "HTTP\u0020response\u0020code\u0020300\u0020\u002D\u0020Multiple\u0020Choices.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_300" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_301", + "name": "TEXT_301", + "summary": "HTTP\u0020response\u0020code\u0020301\u0020\u002D\u0020Moved\u0020Permanently.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_301" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_302", + "name": "TEXT_302", + "summary": "HTTP\u0020response\u0020code\u0020302\u0020\u002D\u0020Found.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_302" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_303", + "name": "TEXT_303", + "summary": "HTTP\u0020response\u0020code\u0020303\u0020\u002D\u0020See\u0020Other.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_303" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_304", + "name": "TEXT_304", + "summary": "HTTP\u0020response\u0020code\u0020304\u0020\u002D\u0020Not\u0020Modified.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_304" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_305", + "name": "TEXT_305", + "summary": "HTTP\u0020response\u0020code\u0020305\u0020\u002D\u0020Use\u0020Proxy\u0020\u0028DEPRECATED\u0021\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_305" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_306", + "name": "TEXT_306", + "summary": "HTTP\u0020response\u0020code\u0020306\u0020\u002D\u0020Switch\u0020Proxy\u0020\u0028DEPRECATED\u0021\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_306" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_307", + "name": "TEXT_307", + "summary": "HTTP\u0020response\u0020code\u0020307\u0020\u002D\u0020Temporary\u0020Redirect.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_307" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_308", + "name": "TEXT_308", + "summary": "HTTP\u0020response\u0020code\u0020308\u0020\u002D\u0020Permanent\u0020Redirect.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_308" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_400", + "name": "TEXT_400", + "summary": "HTTP\u0020response\u0020code\u0020400\u0020\u002D\u0020Bad\u0020Request.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_400" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_401", + "name": "TEXT_401", + "summary": "HTTP\u0020response\u0020code\u0020401\u0020\u002D\u0020Unauthorized.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_401" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_402", + "name": "TEXT_402", + "summary": "HTTP\u0020response\u0020code\u0020402\u0020\u002D\u0020Payment\u0020Required\u0020\u0028Experimental\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_402" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_403", + "name": "TEXT_403", + "summary": "HTTP\u0020response\u0020code\u0020403\u0020\u002D\u0020Forbidden.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_403" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_404", + "name": "TEXT_404", + "summary": "HTTP\u0020response\u0020code\u0020404\u0020\u002D\u0020Not\u0020Found.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_404" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_405", + "name": "TEXT_405", + "summary": "HTTP\u0020response\u0020code\u0020405\u0020\u002D\u0020Method\u0020Not\u0020Allowed.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_405" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_406", + "name": "TEXT_406", + "summary": "HTTP\u0020response\u0020code\u0020406\u0020\u002D\u0020Not\u0020Acceptable.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_406" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_407", + "name": "TEXT_407", + "summary": "HTTP\u0020response\u0020code\u0020407\u0020\u002D\u0020Proxy\u0020Authentication\u0020Required.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_407" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_408", + "name": "TEXT_408", + "summary": "HTTP\u0020response\u0020code\u0020408\u0020\u002D\u0020Request\u0020Timeout.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_408" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_409", + "name": "TEXT_409", + "summary": "HTTP\u0020response\u0020code\u0020409\u0020\u002D\u0020Conflict.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_409" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_410", + "name": "TEXT_410", + "summary": "HTTP\u0020response\u0020code\u0020410\u0020\u002D\u0020Gone.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_410" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_411", + "name": "TEXT_411", + "summary": "HTTP\u0020response\u0020code\u0020411\u0020\u002D\u0020Length\u0020Required.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_411" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_412", + "name": "TEXT_412", + "summary": "HTTP\u0020response\u0020code\u0020412\u0020\u002D\u0020Precondition\u0020Failed.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_412" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_413", + "name": "TEXT_413", + "summary": "HTTP\u0020response\u0020code\u0020413\u0020\u002D\u0020Payload\u0020Too\u0020Large.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_413" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_414", + "name": "TEXT_414", + "summary": "HTTP\u0020response\u0020code\u0020414\u0020\u002D\u0020URI\u0020Too\u0020Long.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_414" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_415", + "name": "TEXT_415", + "summary": "HTTP\u0020response\u0020code\u0020415\u0020\u002D\u0020Unsupported\u0020Media\u0020Type.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_415" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_416", + "name": "TEXT_416", + "summary": "HTTP\u0020response\u0020code\u0020416\u0020\u002D\u0020Range\u0020Not\u0020Satisfiable.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_416" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_417", + "name": "TEXT_417", + "summary": "HTTP\u0020response\u0020code\u0020417\u0020\u002D\u0020Expectation\u0020Failed.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_417" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_418", + "name": "TEXT_418", + "summary": "HTTP\u0020response\u0020code\u0020418\u0020\u002D\u0020I\u0027m\u0020a\u0020teapot.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_418" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_421", + "name": "TEXT_421", + "summary": "HTTP\u0020response\u0020code\u0020421\u0020\u002D\u0020Misdirected\u0020Request.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_421" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_422", + "name": "TEXT_422", + "summary": "HTTP\u0020response\u0020code\u0020422\u0020\u002D\u0020Unprocessable\u0020Entity\u0020\u0028WebDAV\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_422" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_423", + "name": "TEXT_423", + "summary": "HTTP\u0020response\u0020code\u0020423\u0020\u002D\u0020Locked\u0020\u0028WebDAV\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_423" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_424", + "name": "TEXT_424", + "summary": "HTTP\u0020response\u0020code\u0020424\u0020\u002D\u0020Failed\u0020Dependency\u0020\u0028WebDAV\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_424" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_425", + "name": "TEXT_425", + "summary": "HTTP\u0020response\u0020code\u0020425\u0020\u002D\u0020Too\u0020Early\u0020\u0028Experimental\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_425" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_426", + "name": "TEXT_426", + "summary": "HTTP\u0020response\u0020code\u0020426\u0020\u002D\u0020Upgrade\u0020Required.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_426" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_428", + "name": "TEXT_428", + "summary": "HTTP\u0020response\u0020code\u0020428\u0020\u002D\u0020Precondition\u0020Required.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_428" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_429", + "name": "TEXT_429", + "summary": "HTTP\u0020response\u0020code\u0020429\u0020\u002D\u0020Too\u0020Many\u0020Requests.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_429" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_431", + "name": "TEXT_431", + "summary": "HTTP\u0020response\u0020code\u0020431\u0020\u002D\u0020Request\u0020Header\u0020Fields\u0020Too\u0020Large.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_431" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_451", + "name": "TEXT_451", + "summary": "HTTP\u0020response\u0020code\u0020451\u0020\u002D\u0020Unavailable\u0020For\u0020Legal\u0020Reasons.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_451" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_500", + "name": "TEXT_500", + "summary": "HTTP\u0020response\u0020code\u0020500\u0020\u002D\u0020Internal\u0020Server\u0020Error.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_500" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_501", + "name": "TEXT_501", + "summary": "HTTP\u0020response\u0020code\u0020501\u0020\u002D\u0020Not\u0020Implemented.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_501" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_502", + "name": "TEXT_502", + "summary": "HTTP\u0020response\u0020code\u0020502\u0020\u002D\u0020Bad\u0020Gateway.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_502" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_503", + "name": "TEXT_503", + "summary": "HTTP\u0020response\u0020code\u0020503\u0020\u002D\u0020Service\u0020Unavailable.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_503" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_504", + "name": "TEXT_504", + "summary": "HTTP\u0020response\u0020code\u0020504\u0020\u002D\u0020Gateway\u0020Timeout.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_504" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_505", + "name": "TEXT_505", + "summary": "HTTP\u0020response\u0020code\u0020505\u0020\u002D\u0020HTTP\u0020Version\u0020Not\u0020Supported.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_505" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_506", + "name": "TEXT_506", + "summary": "HTTP\u0020response\u0020code\u0020506\u0020\u002D\u0020Variant\u0020Also\u0020Negotiates.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_506" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_507", + "name": "TEXT_507", + "summary": "HTTP\u0020response\u0020code\u0020507\u0020\u002D\u0020Insufficient\u0020Storage\u0020\u0028WebDAV\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_507" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_508", + "name": "TEXT_508", + "summary": "HTTP\u0020response\u0020code\u0020508\u0020\u002D\u0020Loop\u0020Detected\u0020\u0028WebDAV\u0029.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_508" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_510", + "name": "TEXT_510", + "summary": "HTTP\u0020response\u0020code\u0020510\u0020\u002D\u0020Not\u0020Extended.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_510" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003ATEXT_511", + "name": "TEXT_511", + "summary": "HTTP\u0020response\u0020code\u0020511\u0020\u002D\u0020Network\u0020Authentication\u0020Required.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_TEXT_511" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\HttpStatus\u003A\u003AMAP", + "name": "MAP", + "summary": "Map\u0020of\u0020status\u0020codes\u0020to\u0020their\u0020text.", + "url": "classes/WpOrg-Requests-Utility-HttpStatus.html#constant_MAP" }, { "fqsen": "\\WpOrg\\Requests\\Utility\\InputValidator", "name": "InputValidator", @@ -1950,6 +2450,11 @@ Search.appendIndex( "name": "is_curl_handle", "summary": "Verify\u0020whether\u0020a\u0020received\u0020input\u0020parameter\u0020is\u0020a\u0020Curl\u0020handle.", "url": "classes/WpOrg-Requests-Utility-InputValidator.html#method_is_curl_handle" + }, { + "fqsen": "\\WpOrg\\Requests\\Utility\\InputValidator\u003A\u003Ais_valid_rfc2616_token\u0028\u0029", + "name": "is_valid_rfc2616_token", + "summary": "Verify\u0020that\u0020a\u0020received\u0020input\u0020parameter\u0020is\u0020a\u0020valid\u0020\u0022token\u0020name\u0022\u0020according\u0020to\u0020the\nspecification\u0020in\u0020RFC\u00202616\u0020\u0028HTTP\/1.1\u0029.", + "url": "classes/WpOrg-Requests-Utility-InputValidator.html#method_is_valid_rfc2616_token" }, { "fqsen": "\\", "name": "\\", diff --git a/api-2.x/namespaces/default.html b/api-2.x/namespaces/default.html index b2332bbfd..f1fae054a 100644 --- a/api-2.x/namespaces/default.html +++ b/api-2.x/namespaces/default.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -196,7 +196,7 @@

                                                    Autoload.php : - 120 + 122 @@ -227,7 +227,7 @@

                                                    Autoload.php : - 176 + 178 @@ -287,6 +287,8 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -200,6 +200,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg-requests-cookie.html b/api-2.x/namespaces/wporg-requests-cookie.html index 7b3392431..eab2933d3 100644 --- a/api-2.x/namespaces/wporg-requests-cookie.html +++ b/api-2.x/namespaces/wporg-requests-cookie.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -200,6 +200,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg-requests-exception-http.html b/api-2.x/namespaces/wporg-requests-exception-http.html index f180ff51b..5e3c8f032 100644 --- a/api-2.x/namespaces/wporg-requests-exception-http.html +++ b/api-2.x/namespaces/wporg-requests-exception-http.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -153,7 +153,7 @@

                                                    -
                                                    Status304
                                                    Exception for 304 Not Modified responses
                                                    Status305
                                                    Exception for 305 Use Proxy responses
                                                    Status306
                                                    Exception for 306 Switch Proxy responses
                                                    Status400
                                                    Exception for 400 Bad Request responses
                                                    Status401
                                                    Exception for 401 Unauthorized responses
                                                    Status402
                                                    Exception for 402 Payment Required responses
                                                    Status403
                                                    Exception for 403 Forbidden responses
                                                    Status404
                                                    Exception for 404 Not Found responses
                                                    Status405
                                                    Exception for 405 Method Not Allowed responses
                                                    Status406
                                                    Exception for 406 Not Acceptable responses
                                                    Status407
                                                    Exception for 407 Proxy Authentication Required responses
                                                    Status408
                                                    Exception for 408 Request Timeout responses
                                                    Status409
                                                    Exception for 409 Conflict responses
                                                    Status410
                                                    Exception for 410 Gone responses
                                                    Status411
                                                    Exception for 411 Length Required responses
                                                    Status412
                                                    Exception for 412 Precondition Failed responses
                                                    Status413
                                                    Exception for 413 Request Entity Too Large responses
                                                    Status414
                                                    Exception for 414 Request-URI Too Large responses
                                                    Status415
                                                    Exception for 415 Unsupported Media Type responses
                                                    Status416
                                                    Exception for 416 Requested Range Not Satisfiable responses
                                                    Status417
                                                    Exception for 417 Expectation Failed responses
                                                    Status418
                                                    Exception for 418 I'm A Teapot responses
                                                    Status428
                                                    Exception for 428 Precondition Required responses
                                                    Status429
                                                    Exception for 429 Too Many Requests responses
                                                    Status431
                                                    Exception for 431 Request Header Fields Too Large responses
                                                    Status500
                                                    Exception for 500 Internal Server Error responses
                                                    Status501
                                                    Exception for 501 Not Implemented responses
                                                    Status502
                                                    Exception for 502 Bad Gateway responses
                                                    Status503
                                                    Exception for 503 Service Unavailable responses
                                                    Status504
                                                    Exception for 504 Gateway Timeout responses
                                                    Status505
                                                    Exception for 505 HTTP Version Not Supported responses
                                                    Status511
                                                    Exception for 511 Network Authentication Required responses
                                                    StatusUnknown
                                                    Exception for unknown status responses
                                                    +
                                                    Status304
                                                    Exception for 304 Not Modified responses
                                                    Status305
                                                    Exception for 305 Use Proxy responses
                                                    Status306
                                                    Exception for 306 Switch Proxy responses
                                                    Status400
                                                    Exception for 400 Bad Request responses
                                                    Status401
                                                    Exception for 401 Unauthorized responses
                                                    Status402
                                                    Exception for 402 Payment Required responses
                                                    Status403
                                                    Exception for 403 Forbidden responses
                                                    Status404
                                                    Exception for 404 Not Found responses
                                                    Status405
                                                    Exception for 405 Method Not Allowed responses
                                                    Status406
                                                    Exception for 406 Not Acceptable responses
                                                    Status407
                                                    Exception for 407 Proxy Authentication Required responses
                                                    Status408
                                                    Exception for 408 Request Timeout responses
                                                    Status409
                                                    Exception for 409 Conflict responses
                                                    Status410
                                                    Exception for 410 Gone responses
                                                    Status411
                                                    Exception for 411 Length Required responses
                                                    Status412
                                                    Exception for 412 Precondition Failed responses
                                                    Status413
                                                    Exception for 413 Request Entity Too Large responses
                                                    Status414
                                                    Exception for 414 Request-URI Too Large responses
                                                    Status415
                                                    Exception for 415 Unsupported Media Type responses
                                                    Status416
                                                    Exception for 416 Requested Range Not Satisfiable responses
                                                    Status417
                                                    Exception for 417 Expectation Failed responses
                                                    Status418
                                                    Exception for 418 I'm A Teapot responses
                                                    Status421
                                                    Exception for 421 Misdirected Request responses
                                                    Status422
                                                    Exception for 422 Unprocessable Content responses
                                                    Status423
                                                    Exception for 423 Locked responses
                                                    Status424
                                                    Exception for 424 Failed Dependency responses
                                                    Status425
                                                    Exception for 425 Too Early responses
                                                    Status426
                                                    Exception for 426 Upgrade Required responses
                                                    Status428
                                                    Exception for 428 Precondition Required responses
                                                    Status429
                                                    Exception for 429 Too Many Requests responses
                                                    Status431
                                                    Exception for 431 Request Header Fields Too Large responses
                                                    Status451
                                                    Exception for 451 Unavailable For Legal Reasons responses
                                                    Status500
                                                    Exception for 500 Internal Server Error responses
                                                    Status501
                                                    Exception for 501 Not Implemented responses
                                                    Status502
                                                    Exception for 502 Bad Gateway responses
                                                    Status503
                                                    Exception for 503 Service Unavailable responses
                                                    Status504
                                                    Exception for 504 Gateway Timeout responses
                                                    Status505
                                                    Exception for 505 HTTP Version Not Supported responses
                                                    Status506
                                                    Exception for 506 Variant Also Negotiates responses
                                                    Status507
                                                    Exception for 507 Insufficient Storage responses
                                                    Status508
                                                    Exception for 508 Loop Detected responses
                                                    Status510
                                                    Exception for 510 Not Extended responses
                                                    Status511
                                                    Exception for 511 Network Authentication Required responses
                                                    StatusUnknown
                                                    Exception for unknown status responses
                                                    @@ -201,6 +201,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg-requests-exception-transport.html b/api-2.x/namespaces/wporg-requests-exception-transport.html index b72aae9d4..b44a9c416 100644 --- a/api-2.x/namespaces/wporg-requests-exception-transport.html +++ b/api-2.x/namespaces/wporg-requests-exception-transport.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -201,6 +201,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg-requests-exception.html b/api-2.x/namespaces/wporg-requests-exception.html index d51600031..57f159eeb 100644 --- a/api-2.x/namespaces/wporg-requests-exception.html +++ b/api-2.x/namespaces/wporg-requests-exception.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -209,6 +209,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg-requests-proxy.html b/api-2.x/namespaces/wporg-requests-proxy.html index 706044684..e039eed3f 100644 --- a/api-2.x/namespaces/wporg-requests-proxy.html +++ b/api-2.x/namespaces/wporg-requests-proxy.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -200,6 +200,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg-requests-response.html b/api-2.x/namespaces/wporg-requests-response.html index 6053f0327..87d621735 100644 --- a/api-2.x/namespaces/wporg-requests-response.html +++ b/api-2.x/namespaces/wporg-requests-response.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -200,6 +200,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg-requests-transport.html b/api-2.x/namespaces/wporg-requests-transport.html index d43c3f5f6..1029736de 100644 --- a/api-2.x/namespaces/wporg-requests-transport.html +++ b/api-2.x/namespaces/wporg-requests-transport.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -152,7 +152,7 @@

                                                    -
                                                    Curl
                                                    cURL HTTP transport
                                                    Fsockopen
                                                    fsockopen HTTP transport
                                                    +
                                                    Curl
                                                    HTTP transport using libcurl.
                                                    Fsockopen
                                                    fsockopen HTTP transport
                                                    @@ -200,6 +200,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg-requests-utility.html b/api-2.x/namespaces/wporg-requests-utility.html index f70b04a8d..41624589d 100644 --- a/api-2.x/namespaces/wporg-requests-utility.html +++ b/api-2.x/namespaces/wporg-requests-utility.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -152,7 +152,7 @@

                                                    -
                                                    CaseInsensitiveDictionary
                                                    Case-insensitive dictionary, suitable for HTTP headers
                                                    FilteredIterator
                                                    Iterator for arrays requiring filtered values
                                                    InputValidator
                                                    Input validation utilities.
                                                    +
                                                    CaseInsensitiveDictionary
                                                    Case-insensitive dictionary, suitable for HTTP headers
                                                    FilteredIterator
                                                    Iterator for arrays requiring filtered values
                                                    HttpStatus
                                                    Helper class for dealing with HTTP status codes.
                                                    InputValidator
                                                    Input validation utilities.
                                                    @@ -200,6 +200,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg-requests.html b/api-2.x/namespaces/wporg-requests.html index 80f909454..0fae074b1 100644 --- a/api-2.x/namespaces/wporg-requests.html +++ b/api-2.x/namespaces/wporg-requests.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -172,7 +172,7 @@

                                                    -
                                                    Autoload
                                                    Autoloader for Requests for PHP.
                                                    Cookie
                                                    Cookie storage object
                                                    Exception
                                                    Exception for HTTP requests
                                                    Hooks
                                                    Handles adding and dispatching events
                                                    IdnaEncoder
                                                    IDNA URL encoder
                                                    Ipv6
                                                    Class to validate and to work with IPv6 addresses
                                                    Iri
                                                    IRI parser/serialiser/normaliser
                                                    Port
                                                    Find the correct port depending on the Request type.
                                                    Requests
                                                    Requests for PHP
                                                    Response
                                                    HTTP response class
                                                    Session
                                                    Session handler for persistent requests and default parameters
                                                    Ssl
                                                    SSL utilities for Requests
                                                    +
                                                    Autoload
                                                    Autoloader for Requests for PHP.
                                                    Cookie
                                                    Cookie storage object
                                                    Exception
                                                    Exception for HTTP requests
                                                    Hooks
                                                    Handles adding and dispatching events
                                                    IdnaEncoder
                                                    IDNA URL encoder
                                                    Ipv6
                                                    Class to validate and to work with IPv6 addresses
                                                    Iri
                                                    IRI parser/serialiser/normaliser
                                                    Port
                                                    Port utilities for Requests
                                                    Requests
                                                    Requests for PHP
                                                    Response
                                                    HTTP response class
                                                    Session
                                                    Session handler for persistent requests and default parameters
                                                    Ssl
                                                    SSL utilities for Requests
                                                    @@ -220,6 +220,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/namespaces/wporg.html b/api-2.x/namespaces/wporg.html index 9ddc1f8c9..6866a6be7 100644 --- a/api-2.x/namespaces/wporg.html +++ b/api-2.x/namespaces/wporg.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -199,6 +199,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/packages/Application.html b/api-2.x/packages/Application.html index b89919fc9..337f34e4a 100644 --- a/api-2.x/packages/Application.html +++ b/api-2.x/packages/Application.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -147,12 +147,100 @@

                                                    +

                                                    + Constants + + +

                                                    +
                                                    +
                                                    + REQUESTS_AUTOLOAD_REGISTERED + +  = true +
                                                    + +
                                                    + REQUESTS_SILENCE_PSR0_DEPRECATIONS + +  = true +
                                                    + +
                                                    +
                                                    +

                                                    + Constants + + +

                                                    +
                                                    +

                                                    + REQUESTS_AUTOLOAD_REGISTERED + + +

                                                    + + + + + + + public + mixed + REQUESTS_AUTOLOAD_REGISTERED + = true + + + + + + + + + +
                                                    +
                                                    +

                                                    + REQUESTS_SILENCE_PSR0_DEPRECATIONS + + +

                                                    + + + + + + + public + mixed + REQUESTS_SILENCE_PSR0_DEPRECATIONS + = true + + + + + + + + + +
                                                    +
                                                    @@ -191,6 +279,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } @@ -258,9 +348,17 @@

                                                  • Table Of Contents
                                                    • -
                                                    +
                                                  • Constants
                                                  • + +
                                                  • Constants
                                                  • +
                                                  • + +
                                                  • diff --git a/api-2.x/packages/Requests-Authentication.html b/api-2.x/packages/Requests-Authentication.html index 6cb57b295..c3e5168d6 100644 --- a/api-2.x/packages/Requests-Authentication.html +++ b/api-2.x/packages/Requests-Authentication.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -206,6 +206,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/packages/Requests-Cookies.html b/api-2.x/packages/Requests-Cookies.html index 5cf77754c..a469992bf 100644 --- a/api-2.x/packages/Requests-Cookies.html +++ b/api-2.x/packages/Requests-Cookies.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -199,6 +199,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/packages/Requests-EventDispatcher.html b/api-2.x/packages/Requests-EventDispatcher.html index 604144503..87c173db4 100644 --- a/api-2.x/packages/Requests-EventDispatcher.html +++ b/api-2.x/packages/Requests-EventDispatcher.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -206,6 +206,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/packages/Requests-Exceptions.html b/api-2.x/packages/Requests-Exceptions.html index 7e6f8e20a..12791edbb 100644 --- a/api-2.x/packages/Requests-Exceptions.html +++ b/api-2.x/packages/Requests-Exceptions.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -151,7 +151,7 @@

                                                    -
                                                    ArgumentCount
                                                    Exception for when an incorrect number of arguments are passed to a method.
                                                    Status304
                                                    Exception for 304 Not Modified responses
                                                    Status305
                                                    Exception for 305 Use Proxy responses
                                                    Status306
                                                    Exception for 306 Switch Proxy responses
                                                    Status400
                                                    Exception for 400 Bad Request responses
                                                    Status401
                                                    Exception for 401 Unauthorized responses
                                                    Status402
                                                    Exception for 402 Payment Required responses
                                                    Status403
                                                    Exception for 403 Forbidden responses
                                                    Status404
                                                    Exception for 404 Not Found responses
                                                    Status405
                                                    Exception for 405 Method Not Allowed responses
                                                    Status406
                                                    Exception for 406 Not Acceptable responses
                                                    Status407
                                                    Exception for 407 Proxy Authentication Required responses
                                                    Status408
                                                    Exception for 408 Request Timeout responses
                                                    Status409
                                                    Exception for 409 Conflict responses
                                                    Status410
                                                    Exception for 410 Gone responses
                                                    Status411
                                                    Exception for 411 Length Required responses
                                                    Status412
                                                    Exception for 412 Precondition Failed responses
                                                    Status413
                                                    Exception for 413 Request Entity Too Large responses
                                                    Status414
                                                    Exception for 414 Request-URI Too Large responses
                                                    Status415
                                                    Exception for 415 Unsupported Media Type responses
                                                    Status416
                                                    Exception for 416 Requested Range Not Satisfiable responses
                                                    Status417
                                                    Exception for 417 Expectation Failed responses
                                                    Status418
                                                    Exception for 418 I'm A Teapot responses
                                                    Status428
                                                    Exception for 428 Precondition Required responses
                                                    Status429
                                                    Exception for 429 Too Many Requests responses
                                                    Status431
                                                    Exception for 431 Request Header Fields Too Large responses
                                                    Status500
                                                    Exception for 500 Internal Server Error responses
                                                    Status501
                                                    Exception for 501 Not Implemented responses
                                                    Status502
                                                    Exception for 502 Bad Gateway responses
                                                    Status503
                                                    Exception for 503 Service Unavailable responses
                                                    Status504
                                                    Exception for 504 Gateway Timeout responses
                                                    Status505
                                                    Exception for 505 HTTP Version Not Supported responses
                                                    Status511
                                                    Exception for 511 Network Authentication Required responses
                                                    StatusUnknown
                                                    Exception for unknown status responses
                                                    Http
                                                    Exception based on HTTP response
                                                    InvalidArgument
                                                    Exception for an invalid argument passed.
                                                    Curl
                                                    CURL Transport Exception.
                                                    Transport
                                                    Transport Exception
                                                    Exception
                                                    Exception for HTTP requests
                                                    +
                                                    ArgumentCount
                                                    Exception for when an incorrect number of arguments are passed to a method.
                                                    Status304
                                                    Exception for 304 Not Modified responses
                                                    Status305
                                                    Exception for 305 Use Proxy responses
                                                    Status306
                                                    Exception for 306 Switch Proxy responses
                                                    Status400
                                                    Exception for 400 Bad Request responses
                                                    Status401
                                                    Exception for 401 Unauthorized responses
                                                    Status402
                                                    Exception for 402 Payment Required responses
                                                    Status403
                                                    Exception for 403 Forbidden responses
                                                    Status404
                                                    Exception for 404 Not Found responses
                                                    Status405
                                                    Exception for 405 Method Not Allowed responses
                                                    Status406
                                                    Exception for 406 Not Acceptable responses
                                                    Status407
                                                    Exception for 407 Proxy Authentication Required responses
                                                    Status408
                                                    Exception for 408 Request Timeout responses
                                                    Status409
                                                    Exception for 409 Conflict responses
                                                    Status410
                                                    Exception for 410 Gone responses
                                                    Status411
                                                    Exception for 411 Length Required responses
                                                    Status412
                                                    Exception for 412 Precondition Failed responses
                                                    Status413
                                                    Exception for 413 Request Entity Too Large responses
                                                    Status414
                                                    Exception for 414 Request-URI Too Large responses
                                                    Status415
                                                    Exception for 415 Unsupported Media Type responses
                                                    Status416
                                                    Exception for 416 Requested Range Not Satisfiable responses
                                                    Status417
                                                    Exception for 417 Expectation Failed responses
                                                    Status418
                                                    Exception for 418 I'm A Teapot responses
                                                    Status421
                                                    Exception for 421 Misdirected Request responses
                                                    Status422
                                                    Exception for 422 Unprocessable Content responses
                                                    Status423
                                                    Exception for 423 Locked responses
                                                    Status424
                                                    Exception for 424 Failed Dependency responses
                                                    Status425
                                                    Exception for 425 Too Early responses
                                                    Status426
                                                    Exception for 426 Upgrade Required responses
                                                    Status428
                                                    Exception for 428 Precondition Required responses
                                                    Status429
                                                    Exception for 429 Too Many Requests responses
                                                    Status431
                                                    Exception for 431 Request Header Fields Too Large responses
                                                    Status451
                                                    Exception for 451 Unavailable For Legal Reasons responses
                                                    Status500
                                                    Exception for 500 Internal Server Error responses
                                                    Status501
                                                    Exception for 501 Not Implemented responses
                                                    Status502
                                                    Exception for 502 Bad Gateway responses
                                                    Status503
                                                    Exception for 503 Service Unavailable responses
                                                    Status504
                                                    Exception for 504 Gateway Timeout responses
                                                    Status505
                                                    Exception for 505 HTTP Version Not Supported responses
                                                    Status506
                                                    Exception for 506 Variant Also Negotiates responses
                                                    Status507
                                                    Exception for 507 Insufficient Storage responses
                                                    Status508
                                                    Exception for 508 Loop Detected responses
                                                    Status510
                                                    Exception for 510 Not Extended responses
                                                    Status511
                                                    Exception for 511 Network Authentication Required responses
                                                    StatusUnknown
                                                    Exception for unknown status responses
                                                    Http
                                                    Exception based on HTTP response
                                                    InvalidArgument
                                                    Exception for an invalid argument passed.
                                                    Curl
                                                    CURL Transport Exception.
                                                    Transport
                                                    Transport Exception
                                                    Exception
                                                    Exception for HTTP requests
                                                    @@ -199,6 +199,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/packages/Requests-Proxy.html b/api-2.x/packages/Requests-Proxy.html index 0b7fd90dc..a6fcc7bdd 100644 --- a/api-2.x/packages/Requests-Proxy.html +++ b/api-2.x/packages/Requests-Proxy.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -206,6 +206,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/packages/Requests-SessionHandler.html b/api-2.x/packages/Requests-SessionHandler.html index 7d1290685..fc521c794 100644 --- a/api-2.x/packages/Requests-SessionHandler.html +++ b/api-2.x/packages/Requests-SessionHandler.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -199,6 +199,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/packages/Requests-Transport.html b/api-2.x/packages/Requests-Transport.html index 2a3414f57..38d7ed27b 100644 --- a/api-2.x/packages/Requests-Transport.html +++ b/api-2.x/packages/Requests-Transport.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -158,7 +158,7 @@

                                                    -
                                                    Curl
                                                    cURL HTTP transport
                                                    Fsockopen
                                                    fsockopen HTTP transport
                                                    +
                                                    Curl
                                                    HTTP transport using libcurl.
                                                    Fsockopen
                                                    fsockopen HTTP transport
                                                    @@ -206,6 +206,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/packages/Requests-Utilities.html b/api-2.x/packages/Requests-Utilities.html index b18b7a2b0..befabbd44 100644 --- a/api-2.x/packages/Requests-Utilities.html +++ b/api-2.x/packages/Requests-Utilities.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -158,7 +158,7 @@

                                                    -
                                                    IdnaEncoder
                                                    IDNA URL encoder
                                                    Ipv6
                                                    Class to validate and to work with IPv6 addresses
                                                    Iri
                                                    IRI parser/serialiser/normaliser
                                                    Port
                                                    Find the correct port depending on the Request type.
                                                    Ssl
                                                    SSL utilities for Requests
                                                    CaseInsensitiveDictionary
                                                    Case-insensitive dictionary, suitable for HTTP headers
                                                    FilteredIterator
                                                    Iterator for arrays requiring filtered values
                                                    InputValidator
                                                    Input validation utilities.
                                                    +
                                                    IdnaEncoder
                                                    IDNA URL encoder
                                                    Ipv6
                                                    Class to validate and to work with IPv6 addresses
                                                    Iri
                                                    IRI parser/serialiser/normaliser
                                                    Port
                                                    Port utilities for Requests
                                                    Ssl
                                                    SSL utilities for Requests
                                                    CaseInsensitiveDictionary
                                                    Case-insensitive dictionary, suitable for HTTP headers
                                                    FilteredIterator
                                                    Iterator for arrays requiring filtered values
                                                    HttpStatus
                                                    Helper class for dealing with HTTP status codes.
                                                    InputValidator
                                                    Input validation utilities.
                                                    @@ -206,6 +206,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/packages/Requests.html b/api-2.x/packages/Requests.html index d3b88ece7..bd3711be9 100644 --- a/api-2.x/packages/Requests.html +++ b/api-2.x/packages/Requests.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -169,100 +169,12 @@

                                                    -

                                                    - Constants - - -

                                                    -
                                                    -
                                                    - REQUESTS_AUTOLOAD_REGISTERED - -  = true -
                                                    - -
                                                    - REQUESTS_SILENCE_PSR0_DEPRECATIONS - -  = true -
                                                    - -
                                                    -
                                                    -

                                                    - Constants - - -

                                                    -
                                                    -

                                                    - REQUESTS_AUTOLOAD_REGISTERED - - -

                                                    - - - - - - - public - mixed - REQUESTS_AUTOLOAD_REGISTERED - = true - - - - - - - - - -
                                                    -
                                                    -

                                                    - REQUESTS_SILENCE_PSR0_DEPRECATIONS - - -

                                                    - - - - - - - public - mixed - REQUESTS_SILENCE_PSR0_DEPRECATIONS - = true - - - - - - - - - -
                                                    -
                                                    @@ -301,6 +213,8 @@

                                                  • Classes
                                                  • -
                                                  • Constants
                                                  • - + -
                                                  • Constants
                                                  • -
                                                  • - -
                                                  • diff --git a/api-2.x/packages/default.html b/api-2.x/packages/default.html index 82321060b..890bae43d 100644 --- a/api-2.x/packages/default.html +++ b/api-2.x/packages/default.html @@ -69,6 +69,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -107,10 +111,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -147,8 +147,8 @@

                                                    -
                                                    Requests
                                                    Application
                                                    +
                                                    Requests
                                                    @@ -200,6 +200,8 @@

                                                    if (xhr.status < 400 && xhr.responseText) { code.textContent = xhr.responseText; Prism.highlightElement(code); + d=document.getElementsByClassName("line-numbers"); + d[0].scrollTop = d[0].children[1].offsetTop; return; } diff --git a/api-2.x/reports/deprecated.html b/api-2.x/reports/deprecated.html index 8d3e7c336..6be58a6fc 100644 --- a/api-2.x/reports/deprecated.html +++ b/api-2.x/reports/deprecated.html @@ -70,6 +70,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -108,10 +112,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -136,10 +136,32 @@

                                                    Fil

                                                    diff --git a/api-2.x/reports/errors.html b/api-2.x/reports/errors.html index 645cfcedf..b5960b26d 100644 --- a/api-2.x/reports/errors.html +++ b/api-2.x/reports/errors.html @@ -70,6 +70,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -108,10 +112,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -158,7 +158,7 @@

                                                    Ipv6.php

                                                    ERROR - 43 + 45 Tag "author" with body "@author Josh Peck <jmp at joshpeck dot org>" has error The author tag does not have a valid e-mail address diff --git a/api-2.x/reports/markers.html b/api-2.x/reports/markers.html index 2f5200f0e..6dd6b291e 100644 --- a/api-2.x/reports/markers.html +++ b/api-2.x/reports/markers.html @@ -70,6 +70,10 @@

                                                    Packages

                                                    +

                                                    + Application +

                                                    +

                                                    Requests

                                                    @@ -108,10 +112,6 @@

                                                    -

                                                    - Application -

                                                    -
                                                    @@ -157,7 +157,7 @@

                                                    IdnaEncoder.php

                                                    TODO - 271 + 278 this should also check if it's valid for a URL From 2f380501526251546165dab61dde481d34e21e60 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 10 Aug 2025 04:03:31 +0000 Subject: [PATCH 2/2] GH Pages: update other docs for Requests 939/merge --- docs/goals.md | 2 +- docs/hooks.md | 16 ++++++++++------ index.md | 31 ++++++------------------------- 3 files changed, 17 insertions(+), 32 deletions(-) diff --git a/docs/goals.md b/docs/goals.md index d2098c75b..06e438a65 100644 --- a/docs/goals.md +++ b/docs/goals.md @@ -23,7 +23,7 @@ Goals No matter what you have installed on your system, you should be able to run Requests. We use cURL if it's available, and fallback to sockets otherwise. - We require only a baseline of PHP 5.6, leaving the choice of PHP minimum + We require only a baseline of PHP 5.6.20, leaving the choice of PHP minimum requirement fully in your hands, and giving you the ability to support many more hosts. diff --git a/docs/hooks.md b/docs/hooks.md index a97c94019..0a58e6132 100644 --- a/docs/hooks.md +++ b/docs/hooks.md @@ -77,7 +77,7 @@ Available Hooks * **`curl.before_send`** - Set cURL options just before the request is actually sent via `curl_exec()`. + Set cURL options before the request is actually sent via `curl_exec()`. Parameters: `cURL resource|CurlHandle &$handle` @@ -91,12 +91,14 @@ Available Hooks Alter the raw HTTP response before returning for parsing. - Parameters: `string &$headers`, `[array &$info]` + Parameters: `string &$headers`, `array &$info` - The optional `$info` parameter contains the associated array as defined in + The `$info` parameter contains the associated array as defined in the return value for [curl_getinfo()](https://www.php.net/curl-getinfo#refsect1-function.curl-getinfo-returnvalues). -This optional parameter will be present when a blocking request was made (`$options['blocking' = true`) and will not be present when a non-blocking request was made (`$options['blocking' = false`). The callback signature needs to be adapted accordingly. + When a non-blocking request was made (`$options['blocking'] = false`), both the `$headers` string as well as the `$info` array will be empty. + + Prior to Requests 2.1.0, the `$info` parameter was omitted for non-blocking requests. * **`curl.before_multi_add`** @@ -154,12 +156,14 @@ This optional parameter will be present when a blocking request was made (`$opti Alter the raw HTTP response before returning for parsing. - Parameters: `string &$headers`, `[array &$info]` + Parameters: `string &$headers`, `array &$info` The optional `$info` parameter contains the associated array as defined in the return value for [stream_get_meta_data()](https://www.php.net/stream-get-meta-data#refsect1-function.stream-get-meta-data-returnvalues). -This optional parameter will be present when a blocking request was made (`$options['blocking' = true`) and will not be present when a non-blocking request was made (`$options['blocking' = false`). The callback signature needs to be adapted accordingly. + When a non-blocking request was made (`$options['blocking'] = false`), both the `$headers` string as well as the `$info` array will be empty. + + Prior to Requests 2.1.0, the `$info` parameter was omitted for non-blocking requests. Registering Hooks diff --git a/index.md b/index.md index 170eff6f2..e8c1b2269 100644 --- a/index.md +++ b/index.md @@ -10,7 +10,7 @@ Requests is a HTTP library written in PHP, for human beings. It is roughly based on the API from the excellent [Requests Python library](http://python-requests.org/). Requests is [ISC Licensed](https://github.com/WordPress/Requests/blob/stable/LICENSE) (similar to -the new BSD license) and has no dependencies, except for PHP 5.6+. +the new BSD license) and has no dependencies, except for PHP 5.6.20+. Despite PHP's use as a language for the web, its tools for sending HTTP requests are severely lacking. cURL has an @@ -131,25 +131,15 @@ issue](https://github.com/WordPress/Requests/issues/new)! [prose-based documentation]: {{ '/docs/' | prepend: site.baseurl }} [request_method]: https://requests.ryanmccue.info/api-2.x/classes/WpOrg-Requests-Requests.html#method_request -Testing -------- + +Test Coverage +------------- Requests strives to have 100% code-coverage of the library with an extensive set of tests. We're not quite there yet, but [we're getting close][codecov]. [codecov]: https://codecov.io/github/WordPress/Requests/ -To run the test suite, first check that you have the [PHP -JSON extension ](https://www.php.net/book.json) enabled. Then -simply: -```bash -$ phpunit -``` - -If you'd like to run a single set of tests, specify just the name: -```bash -$ phpunit Transport/cURL -``` Requests and PSR-7/PSR-18 ------------------------- @@ -172,15 +162,6 @@ If you are interested in a PSR-7/PSR-18 compatible version of Requests, we highl Contribute ---------- -1. Check for open issues or open a new issue for a feature request or a bug. -2. Fork [the repository][] on Github to start making your changes to the - `develop` branch (or branch off of it). -3. Write one or more tests which show that the bug was fixed or that the feature works as expected. -4. Send in a pull request. - -If you have questions while working on your contribution and you use Slack, there is -a [#core-http-api] channel available in the [WordPress Slack] in which contributions can be discussed. +Contributions to this library are very welcome. Please read the [Contributing guidelines][] to get started. -[the repository]: https://github.com/WordPress/Requests -[#core-http-api]: https://wordpress.slack.com/archives/C02BBE29V42 -[WordPress Slack]: https://make.wordpress.org/chat/ +[Contributing guidelines]: https://github.com/WordPress/Requests/blob/develop/.github/CONTRIBUTING.html