Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hoaproject/Websocket

The Hoa\Websocket library.
https://github.com/hoaproject/Websocket

Happy new year!

712624bc909d4ef34b13888e74731a54794a2d5e authored almost 10 years ago by Ivan Enderlin <[email protected]>
s/@lh/@hack

3f5c452278aa910eb2655870e3660c98f20c0c62 authored about 10 years ago by Ivan Enderlin <[email protected]>
Move to PSR-4.

f5db4c4bc70e0bd6a09310d9b72f87d5d4028519 authored about 10 years ago by Ivan Enderlin <[email protected]>
Remove from/import and update to PHP5.4.

ea27223316db5157f377bcea44f53b900a372699 authored about 10 years ago by Ivan Enderlin <[email protected]>
Add branch-alias

bef17e12c34e362204790549b7ef27a42d1f3aa7 authored about 10 years ago by Stéphane PY <[email protected]>
Continue Rüsh Release.

25eb7a57f7825f562c88a6c87e593db25c3a9814 authored over 10 years ago by Ivan Enderlin <[email protected]>
Start Rüsh Release.

0443ba0a358375455f24efb0b421e4306657ba30 authored over 10 years ago by Ivan Enderlin <[email protected]>
Set stream (socket) blocking mode.

10747c1e5fe1eadff8f9c53ef3614cc911a401cf authored over 10 years ago by Ivan Enderlin <[email protected]>
Fix a bug introduced by the previous commit.

4664c45171e3011f03155f6ec11cd0c7a3316d91 authored over 10 years ago by Ivan Enderlin <[email protected]>
Reduce memory usage when masking messages.

Avoid to copy the whole message two times in memory. It saves memory
(not able to measure) and a...

ef9e155bf0e1a75eb0c6d958b92607ae7a703908 authored over 10 years ago by Ivan Enderlin <[email protected]>
Respect Section 7.1.1 of the RFC6455.

Quoting the RFC, 7.1.1 Close the WebSocket Connection:

> To _Close the WebSocket Connection_...

f5f294a4cb5cf36c46e6a896c07ff22ea0fb07cd authored over 10 years ago by Ivan Enderlin <[email protected]>
Merge branch 'mask_close' into incoming

b48080f38ba534bb62f04a4928f939326d9220b1 authored over 10 years ago by Ivan Enderlin <[email protected]>
Client properly closes the connection.

fda116231ce8e1534588ed3024a45e79638c9a99 authored over 10 years ago by Ivan Enderlin <[email protected]>
Renumbering exceptions.

1b8658461e99da8a669b4071c3322274d36d34cd authored over 10 years ago by Ivan Enderlin <[email protected]>
Also mask the closing frame.

67264f598c84cf9c37178556c44b3c45b73c8414 authored over 10 years ago by Ivan Enderlin <[email protected]>
Use OpenSSL for strong random bytes if available.

Quoting the RFC:

> The masking key is a 32-bit value chosen at random by the client.
> ...

9a6d6c72ff0e5b8cac5aa6a77a463e223ab2bc43 authored over 10 years ago by Ivan Enderlin <[email protected]>
Mask all the sent messages.

17279f3c738f4ad5602320aac9552a98ca60bd77 authored over 10 years ago by Ivan Enderlin <[email protected]>
Ensure that the mask is well-formed.

7b4b11c1d9e4d35158aa4ef935497227e02fffff authored over 10 years ago by Ivan Enderlin <[email protected]>
New exception: CloseError.

When thrown from the a protocol implementation, will close the
socket connection in the server o...

b87cf831cff3f45bd4840694413b5983eda4d3c7 authored over 10 years ago by Ivan Enderlin <[email protected]>
All messages from the client must be masked.

80319c53bf28ae2f9a6edd90b6286c174fe7e163 authored over 10 years ago by Ivan Enderlin <[email protected]>
Change the $mask value.

93d8789d3bd0e88ad7393478c67673f713300ae7 authored over 10 years ago by Ivan Enderlin <[email protected]>
Fix markdown.

Essentially :retab.

b39aec5a4603294e94fee35759bad0baca5ed5ad authored almost 11 years ago by Ivan Enderlin <[email protected]>
Merge branch 'pr/7' into incoming

9700eb1367186dda9d41aa185a5c769f03bfa457 authored almost 11 years ago by Ivan Enderlin <[email protected]>
Add a section for awecodes.

87191324e069a0fcd7c2fc4d3b7457be06fb4f9f authored almost 11 years ago by Ivan Enderlin <[email protected]>
Update README.md

Added github flavored markdown with syntax highlighting https://help.github.com/articles/github-...

79d073e2df455c87c8561197a0adedff0c8587cc authored almost 11 years ago by flip111 <[email protected]>
Add the state of the library.

49d00f19dd41b071a13338ed90f2d61a682bbe9c authored almost 11 years ago by Ivan Enderlin <[email protected]>
Write english documentation.

Thanks @osaris (iraphael) for the review!

30c576029ca5fde203b1b76269127f40fe85fb8a authored almost 11 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

72dc967565d83313985dcbb167c7b74a47a3a866 authored almost 11 years ago by Ivan Enderlin <[email protected]>
Fix a typo.

14b3fa6ed0ca539058b638ad71b172714ca76298 authored almost 11 years ago by Ivan Enderlin <[email protected]>
Translate anchors into english.

4a8c527fca76f1034e9821085cbb3bd03aa94adc authored almost 11 years ago by Ivan Enderlin <[email protected]>
Happy new year \o/.

18ac79d095ac708b632300ff3e54ffd86c260b92 authored almost 11 years ago by Ivan Enderlin <[email protected]>
Format `composer.json`.

34c61600cb1431da407e36f1707af7bd5bf61102 authored almost 11 years ago by Ivan Enderlin <[email protected]>
Add empty english documentation.

18dc6c5cf38026f4f8b32b38371c261c8ff18a52 authored about 11 years ago by Ivan Enderlin <[email protected]>
Fix a bad variable name. Thanks @marmotz!

394a47d3828d5e6859e4b839f1371d4840611216 authored about 11 years ago by Ivan Enderlin <[email protected]>
setHost() returns the old one.

e454f9edb779b127bdfefa14329d2b161e2ab92c authored about 11 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

c753a64fa0ea3119786fea574927a87038d89182 authored about 11 years ago by Ivan Enderlin <[email protected]>
Remove mentions to from/import in documentations.

f26c8810cbbff443b9855806c9d8000e0d657617 authored about 11 years ago by Ivan Enderlin <[email protected]>
Forget a break;.

ba6f21e68fd28694061fce5b2f4ab21adb805391 authored about 11 years ago by Ivan Enderlin <[email protected]>
Add a basic WebSocket client in CLI.

2ec41d344e7aeb7b769d80e07d8f1ad3eb8116a8 authored about 11 years ago by Ivan Enderlin <[email protected]>
Better composer compatibility

ec7bed129b13b1a2f6a5026f8febe8d221fbb644 authored about 11 years ago by jubianchi <[email protected]>
Define flex entities.

2ca08c718db3fd51b07fd56c70353660fb3416e5 authored about 11 years ago by Ivan Enderlin <[email protected]>
Fix a typo. Thanks @CircleCode!

2d38aa3246019a41aa6e22280c5c42c0fd9329ac authored about 11 years ago by Ivan Enderlin <[email protected]>
Add Hoa\Websocket\Client french documentation.

e00da789403943650418784c54236fc148a39df2 authored about 11 years ago by Ivan Enderlin <[email protected]>
Update constants access.

6d3a254184cb1f227df93d6cd8cdd749a2961c4c authored over 11 years ago by Ivan Enderlin <[email protected]>
Update README and composer.

7e6cefc4bd0695c6d4ee36d0e3fd1f8ac4b2b38b authored over 11 years ago by Ivan Enderlin <[email protected]>
Add Hoa\Websocket\Client \o/.

0b28ad0cdb42acb6a0f8337b426ecf34df812023 authored over 11 years ago by Ivan Enderlin <[email protected]>
Add verifications on Sec-WebSocket-Key.

1ca3383dbeb60ac8865efc26db95279b5e3cc9cc authored over 11 years ago by Ivan Enderlin <[email protected]>
Avoid a division by zero.

ba5dec00fed8f4fd9317bd70885cd4b7d56e5bd7 authored over 11 years ago by Ivan Enderlin <[email protected]>
Avoid null and add the isMessageComplete() method.

2071b671b2360094ab5528ef147e5012ddba2f7a authored over 11 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

a868b2f541243e48705e4ec3df9777990a95ed6f authored over 11 years ago by Ivan Enderlin <[email protected]>
Split Server to Server+Connection.

b5c865be69d7ee9fb50eccd069bab9f7845f0686 authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix a typo. Thanks @marmotz!

94b779b56d3826eda2a8a892900163fe5bec5721 authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix a typo in an example.

8ad2eba2403fdc17f9ed8665fd25610b5968c045 authored over 11 years ago by Ivan Enderlin <[email protected]>
Update composer.json.

a28bb166e43e887af2322d50486481350d3682f3 authored over 11 years ago by Ivan Enderlin <[email protected]>
s/SSL/TLS

7f059046827c13cc1ba73e1022c8bbae09eb113c authored over 11 years ago by Ivan Enderlin <[email protected]>
Ease rolling-release.

922ef044e84a41bb6fc759edc4abc1ad1f04d102 authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix a typo in a library name.

b64e1e7397be5a8415a238d69f8ce0aab6b4d013 authored over 11 years ago by Ivan Enderlin <[email protected]>
Just modify a little bit.

2ac29fb8976d490dc11d88a4ee10dd19e9bc3c83 authored over 11 years ago by Ivan Enderlin <[email protected]>
Add a paragraph about difference between WebSocket and EventSource.

4898004a7197d52314602edd4924009897cb4e21 authored over 11 years ago by Raphaël Emourgeon <[email protected]>
In some cases, a node can be null.

Please, see commit 5127800 on Hoa\Websocket.

da1997349e1ab3b2819df73e8deefba43530a23e authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix an error in an example.

c9df23173829b770f4f2826f3526cbe392972efd authored over 11 years ago by Ivan Enderlin <[email protected]>
Simplify code. #performance

934366e2e141dc01a9a10f8735552ac0f95ad7fa authored over 11 years ago by Ivan Enderlin <[email protected]>
Prevent errors when the length is too long.

bcf2efcba7c0ed3fe5a727cef5e85af964b18a82 authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix a bad attribute name.

3eb7a40cc1412a34a14d6716dd42defff7a669f5 authored over 11 years ago by Ivan Enderlin <[email protected]>
Add french documentation.

72507298d3f88eb79a2b6e92dacd45df51d28488 authored over 11 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

8db68d93e7446a3670e3a11816a242a9ac1db4e6 authored over 11 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

b222be9addcbb480e5e08597b0265b4f3666aa48 authored over 11 years ago by Ivan Enderlin <[email protected]>
Oops, forget to push this commit.

00e69a6085c9487ca2f4f719f44ad0b9dedb20bc authored over 11 years ago by Ivan Enderlin <[email protected]>
Use the new Hoa\Socket\Connection\Handler API.

1907d5e3aee11a84a8042c2c49e2344661f7f8b6 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Remove an old and useless code.

This code was useful to ensure compatibility with Webkit's first
implementation of the WebSocket...

5f92dd9ecfc3810284cc39b447de186b3da6c9b5 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Extend the Hoa\Socket\Server\Handler class.

1c1cf42b7dfca1777e0b509dd87587b923f87b61 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Fix a typo.

8018354a3f0bbc674750572cd9e6b792eea8899c authored almost 12 years ago by Ivan Enderlin <[email protected]>
Binary messages can be fragmented too!

We add two methods in the node: setBinary() and isBinary().
Then, the server is a bit modified i...

c988def1b7007ec9f562e263ca5020ae299e41f9 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Format a comment. #mania

d399300e5487b80ad637724f9c0933e8fe2a7283 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Update README.

1375666bf4720be165e5a37bc873844ee85391a5 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

760437ece2e49309fe78d4180b5806ba30f0ee62 authored almost 12 years ago by Ivan Enderlin <[email protected]>
close() can now have a $reason argument.

a3d886e12dd115ad3262ee3c4507be56a3f2dd6f authored almost 12 years ago by Ivan Enderlin <[email protected]>
Remove the Hoa\Websocket\Server::sendBinary method.

772a04c66a9488e7fdbd5c8f1643029c8c671972 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add $end to send().

d97adf75efcfd0da1aef38e7ae6cb785d5ce0c6e authored almost 12 years ago by Ivan Enderlin <[email protected]>
Introduce the InvalidMessage exception.

It is thrown when the server cannot send a message, for example, if the
encoding is not UTF-8.

0e149421daa9441a01622d5bcc5a128bbc0dd53f authored almost 12 years ago by Ivan Enderlin <[email protected]>
Update close code with “error” listener.

4fba1911b75ba898592de8b3accf206ea17aea98 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Throw exception when sending a not UTF-8 message.

946607814b4aaa16850b849ddb6b566e89f6db66 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Fix a typo.

5ba4c993d74a9cd00fe3d780126547b85397fb25 authored almost 12 years ago by Ivan Enderlin <[email protected]>
There is, again, one more listener :-).

db4efa3cb15d100cfbfe5012890593a954dc2cb9 authored almost 12 years ago by Ivan Enderlin <[email protected]>
$end argument of writeFrame() is now the last one.

It was a problem is the design of this API. This change is minor since
we have a few users for now.

fd7c4177151541257ae3be404d00e02792e9867f authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add the BINARY_MESSAGE opcode support.

cdabf3882c577ed8cccea1a4fc63b7f27007f5b6 authored almost 12 years ago by Ivan Enderlin <[email protected]>
There is one more listener :-).

2513f4e4669a295a2bd75dc5d1b802496f483523 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Remove a detection: unicode on ping (not needed).

beb728fb779586790f2b640cf877db36184298d7 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Detect a new protocol error: invalid code.

00055cc6bc7ae641a797b4073e07ebbdd766f441 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Simplify code. #mania

a40962c430b4dfb50cdfeadf0e29c221979ca90f authored almost 12 years ago by Ivan Enderlin <[email protected]>
Detect a new protocol error: invalid unicode.

a7cc0f24a94226fca9471388f033d0fc5058f7f9 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add “code” & “reason” data for “close”.

Additionally, detect new protocol errors:
• invalid code;
• too big reason.

17a3dd0a870a72969dcc636badc1ac544b7b0a2d authored almost 12 years ago by Ivan Enderlin <[email protected]>
Properly close the connection (with opcode).

ad29de819f7af7e620c09f25f155e969ab915f68 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Detect a new protocol error: invalid unicode.

86a966711984daf942c53e56d9a80d39699fb4f7 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add the “ping” listener.

113d52d71591420b28f985731126ce0f524d7076 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Remove a bad use case.

0a763763a866666f7b95138476df8367a1cf38a8 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Revert previous commit. #oops

3e6b49454861c4892693a95f96a6f46dc9fae73c authored almost 12 years ago by Ivan Enderlin <[email protected]>
Detect a new protocol error: invalid unicode.

da9db164f1cb6bfcf725d61bfb5285f19dd7873b authored almost 12 years ago by Ivan Enderlin <[email protected]>
Detect a new protocol error: fragmented pong.

4ee718e65940c9d3bbc4297b8b075babcfdbce1e authored almost 12 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

327218a28492245a8c5e9ef2d74c9f7025b19043 authored almost 12 years ago by Ivan Enderlin <[email protected]>