projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
transport API: add header argument to the init methon (required by websocket handshake)
[brisk.git]
/
web
/
xynt_test01.php
diff --git
a/web/xynt_test01.php
b/web/xynt_test01.php
index
b60ca9c
..
6673d34
100644
(file)
--- a/
web/xynt_test01.php
+++ b/
web/xynt_test01.php
@@
-67,8
+67,9
@@
if ($isstream == "true") {
else
$init_string .= chr(mt_rand(65, 90));
}
else
$init_string .= chr(mt_rand(65, 90));
}
+ $header = array();
- $body = $transp->init("plain", $header_out, $init_string, "", "0");
+ $body = $transp->init("plain", $header
, $header
_out, $init_string, "", "0");
foreach ($header_out as $key => $value) {
header(sprintf("%s: %s", $key, $value));
foreach ($header_out as $key => $value) {
header(sprintf("%s: %s", $key, $value));