File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1111 *
1212 * Use this interface when you do not have PSR-7 RequestInterface instances available.
1313 *
14+ * Implementations should be configured in their constructor. For runtime behaviour changes, there
15+ * is an $options parameter. It SHOULD be validated by the client and an exception thrown if
16+ * unknown options are passed.
17+ * Option that must be accepted by every client implementation (though it is free to ignore them
18+ * if the underlying implementation does not support the option):
19+ *
20+ * - timeout (int): the timeout for the HTTP request in seconds. 0 means to use the default.
21+ *
1422 * @author Márk Sági-Kazár mark.sagikazar@gmail.com>
1523 */
1624interface HttpMethodsClient
Original file line number Diff line number Diff line change 99/**
1010 * Sends one or more PSR-7 Request
1111 *
12+ * Implementations should be configured in their constructor. For runtime behaviour changes, there
13+ * is an $options parameter. It SHOULD be validated by the client and an exception thrown if
14+ * unknown options are passed.
15+ * Option that must be accepted by every client implementation (though it is free to ignore them
16+ * if the underlying implementation does not support the option):
17+ *
18+ * - timeout (int): the timeout for the HTTP request in seconds. 0 means to use the default.
19+ *
1220 * @author GeLo <geloen.eric@gmail.com>
1321 */
1422interface HttpPsrClient
You can’t perform that action at this time.
0 commit comments