vendor/guzzlehttp/guzzle/src/Multiplexing.php

26 lines · 756 bytes

 1<?php
 2
 3namespace GuzzleHttp;
 4
 5/**
 6 * Multiplexing modes for the "multiplex" request option.
 7 *
 8 * NONE disables multiplexing for a whole handler when passed as the
 9 * "multiplex" client configuration option or, when constructing a handler
10 * directly, as the CurlMultiHandler "multiplex" constructor option. As a
11 * request option value it guarantees the transfer does not share its
12 * connection with any concurrent transfer, and is accepted only where that
13 * guarantee holds.
14 */
15final class Multiplexing
16{
17    public const NONE = 'none';
18    public const EAGER = 'eager';
19    public const WAIT = 'wait';
20    public const REQUIRE_EAGER = 'require_eager';
21    public const REQUIRE_WAIT = 'require_wait';
22
23    private function __construct()
24    {
25    }
26}