1
0
Fork 0

add timeout http

This commit is contained in:
Christopher Latza 2020-06-07 18:59:36 +02:00
parent a460a8e7eb
commit ce2376d38e
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ while(TRUE)
'http' => [
'method' => 'POST',
'header' => 'Content-Type: application/json',
'timeout' => 5.0,
'content' => $jsonMessage
]
];