Http
in
Table of Contents
Methods
- delete() : mixed
- get() : mixed
- getStream() : StreamInterface
- patch() : mixed
- post() : mixed
- postStream() : StreamInterface
- put() : mixed
Methods
delete()
public
delete(string $path[, array<string, scalar|array<int, scalar>> $query = [] ]) : mixed
Parameters
- $path : string
- $query : array<string, scalar|array<int, scalar>> = []
Tags
get()
public
get(string $path[, array<string, scalar|array<int, scalar>> $query = [] ]) : mixed
Parameters
- $path : string
- $query : array<string, scalar|array<int, scalar>> = []
Tags
getStream()
public
getStream(string $path[, array<string, scalar|array<int, scalar>> $query = [] ]) : StreamInterface
Parameters
- $path : string
- $query : array<string, scalar|array<int, scalar>> = []
Tags
Return values
StreamInterfacepatch()
public
patch(string $path[, mixed $body = null ][, array<string, scalar|array<int, scalar>> $query = [] ][, non-empty-string|null $contentType = null ]) : mixed
Parameters
- $path : string
- $body : mixed = null
- $query : array<string, scalar|array<int, scalar>> = []
- $contentType : non-empty-string|null = null
Tags
post()
public
post(string $path[, mixed $body = null ][, array<string, scalar|array<int, scalar>> $query = [] ][, non-empty-string|null $contentType = null ][, array<string, string> $headers = [] ]) : mixed
Parameters
- $path : string
- $body : mixed = null
- $query : array<string, scalar|array<int, scalar>> = []
- $contentType : non-empty-string|null = null
- $headers : array<string, string> = []
-
extra request headers
Tags
postStream()
public
postStream(string $path[, mixed $body = null ][, array<string, scalar|array<int, scalar>> $query = [] ]) : StreamInterface
Parameters
- $path : string
- $body : mixed = null
- $query : array<string, scalar|array<int, scalar>> = []
Tags
Return values
StreamInterfaceput()
public
put(string $path[, mixed $body = null ][, array<string, scalar|array<int, scalar>> $query = [] ][, non-empty-string|null $contentType = null ]) : mixed
Parameters
- $path : string
- $body : mixed = null
- $query : array<string, scalar|array<int, scalar>> = []
- $contentType : non-empty-string|null = null