File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,29 @@ if ($result) {
137
137
}
138
138
```
139
139
140
+ ## HTTP Request Option
141
+
142
+ You can specify [ Guzzle Request Options] as a driver option.
143
+
144
+ ``` php
145
+ $options = new APNs\Token\Option();
146
+ $options->httpOptions = [
147
+ 'connect_timeout' => 3.14
148
+ 'timeout' => 3.14,
149
+ 'debug' => true,
150
+ ];
151
+ ```
152
+
153
+ ## More examples
154
+
155
+ More examples can be found in the [ examples] ( example ) directory.
156
+
157
+
140
158
[ Token Based ] : https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_token-based_connection_to_apns
141
159
[ Certificate Based ] : https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_certificate-based_connection_to_apns
142
160
[ Binary Provider ] : https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/BinaryProviderAPI.html
143
161
[ HTTP v1 ] : https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages/send
144
162
[ Legacy JSON ] : https://firebase.google.com/docs/cloud-messaging/http-server-ref#downstream-http-messages-json
145
163
[ Legacy Plain Text ] : https://firebase.google.com/docs/cloud-messaging/http-server-ref#downstream-http-messages-plain-text
146
164
[ XMPP ] : https://firebase.google.com/docs/cloud-messaging/xmpp-server-ref
165
+ [ Guzzle Request Options ] : https://docs.guzzlephp.org/en/stable/request-options.html
You can’t perform that action at this time.
0 commit comments