Http

class SeanMorris\Ksqlc\Http

source/Http.php : 7 - 108

Provides basic streaming HTTP.

- public - protected - private - static - reference - inherited - override
Implements:

methods

contstants

methods

  • get()

    inherited public static method
    Issue an HTTP GET request.
    url

    required

    content

    optional default

    null
  • post()

    inherited public static method
    Issue an HTTP POST request to the KSQLDB endpoint.
    url

    required

    content

    optional default

    null
  • openRequest()

    inherited public static method
    Issue an HTTP request.
    Returns an object with the following properties: ->http - "HTTP 1.0", "HTTP 1.1" or "HTTP 2" ->code - The HTTP response code ->time - When the server responded (local system time) ->status - The HTTP status line. ->header - Associative array of headers ->stream - Stream resource containing response body ->method - The method used in the request ->url - The URL used in the request
    method

    required

    url

    required

    content

    optional default

    null

contstants