Method |
Description |
|
__construct ( array $params ) |
Init the HTTP Client |
|
__wakeup ( ) |
Prevent unserialization |
|
create_media ( string $file, array $query = [] ) : object |
Create a new media. Wistia handles upload differently than other methods. |
|
delete ( $endpoint, $query = [] ) : string |
Send a DELETE request |
|
get ( $endpoint, $query = [] ) : string |
Send a GET request |
|
get_client ( ) : object |
Returns the client |
|
get_token ( ) : string |
Get the token |
|
post ( $endpoint, $query = [] ) : string |
Send a POST request |
|
put ( $endpoint, $query = [] ) : string |
Send a PUT request |
|