Method |
Description |
|
injectHttpClient ( GuzzleHttp\ClientInterface $client ) |
|
|
send ( Message $message ) : Psr\Http\Message\ResponseInterface |
sends your notification to the google servers and returns a guzzle repsonse object
containing their answer. |
|
setApiKey ( string $apiKey ) : Client |
add your server api key here
read how to obtain an api key here: https://firebase.google.com/docs/server/setup#prerequisites |
|
setProxyApiUrl ( string $url ) : Client |
people can overwrite the api url with a proxy server url of their own |
|