mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
more paketz
This commit is contained in:
parent
909a908107
commit
0111aa7224
7 changed files with 45 additions and 2 deletions
2
bench/packets/chat_msg.json
Normal file
2
bench/packets/chat_msg.json
Normal file
|
@ -0,0 +1,2 @@
|
|||
["message",{"from":"juliet@example.com/balcony","to":"romeo@example.net"},
|
||||
"Art thou not Romeo, and a Montague?"]
|
|
@ -1,6 +1,6 @@
|
|||
:_source psyc://example.com/~juliet
|
||||
:_target psyc://example.net/~romeo
|
||||
|
||||
_message_private
|
||||
_message
|
||||
Art thou not Romeo, and a Montague?
|
||||
|
|
||||
|
|
2
bench/packets/json-unfriendly.json
Normal file
2
bench/packets/json-unfriendly.json
Normal file
|
@ -0,0 +1,2 @@
|
|||
["message",{"from":"romeo@example.net/orchard","to":"juliet@example.com/balcony"},
|
||||
"\"Neither, fair saint, if either thee dislike.\", he said.\nAnd\nthe\nrest\nis\nhistory."]
|
11
bench/packets/json-unfriendly.psyc
Normal file
11
bench/packets/json-unfriendly.psyc
Normal file
|
@ -0,0 +1,11 @@
|
|||
:_source psyc://example.com/~romeo
|
||||
:_target psyc://example.net/~juliet
|
||||
|
||||
_message
|
||||
"Neither, fair saint, if either thee dislike.", he said.
|
||||
And
|
||||
the
|
||||
rest
|
||||
is
|
||||
history.
|
||||
|
|
3
bench/packets/psyc-unfriendly.json
Normal file
3
bench/packets/psyc-unfriendly.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
["message",{"from":"juliet@example.com/balcony',"to":"romeo@example.net",
|
||||
"subject":"I implore you with a pointless\nnewline in a header variable"},
|
||||
"Wherefore art thou, Romeo?\n|\nAnd for practicing purposes we added a PSYC packet delimiter.]
|
10
bench/packets/psyc-unfriendly.psyc
Normal file
10
bench/packets/psyc-unfriendly.psyc
Normal file
|
@ -0,0 +1,10 @@
|
|||
:_source psyc://example.com/~juliet
|
||||
:_target psyc://example.net/~romeo
|
||||
177
|
||||
:_subject 59 I implore you with a pointless
|
||||
newline in a header variable
|
||||
_message
|
||||
Wherefore art thou, Romeo?
|
||||
|
|
||||
And for practicing purposes we added a PSYC packet delimiter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue