M
M
Maxim2015-07-30 00:35:37
PHP
Maxim, 2015-07-30 00:35:37

Is it possible to disable receiving a response in Guzzle?

It is necessary to send a notification using a GET request to a specific url, while not at all interested in what will come in response and whether it will come at all. In theory, you just need to send get, and you don’t need to know whether it will reach or not. Is it possible to do this with guzzle?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xlusv, 2015-07-30
@xlusv

Just use an asynchronous request:
The script will not wait for the response to return. Read more in the documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question