Skip to content

Commit

Permalink
proto_ws: update doc to reflect WS client implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Apr 9, 2015
1 parent 8627946 commit 9dd26b8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions modules/proto_ws/README
Expand Up @@ -49,11 +49,11 @@ Chapter 1. Admin Guide
compliant with the RFC 7118, thus allowing browsers to act as
SIP clients for the OpenSIPS proxy.

The current implementation can only act as a WebSocket server,
meaning that it can only accept connections from WebSocket
clients and cannot initiate connections to another WebSocket
server. After the connection is established, messages can flow
in both directions.
The current implementation acts both as WebSocket server and
client, thus it can accept connections from WebSocket clients
and can also initiate connections to another WebSocket server.
After the connection is established, messages can flow in both
directions.

OpenSIPS supports the following WebSocket operations:
* text and binary - can both send and receive WebSocket
Expand Down Expand Up @@ -139,7 +139,8 @@ Chapter 2. Frequently Asked Questions

Can OpenSIPS act as a WebSocket client?

No, currently OpenSIPS can only behave as a Websocket server.
Yes, starting with OpenSIPS 2.2, it can act as a WebSocket
client.

2.2.

Expand Down
4 changes: 2 additions & 2 deletions modules/proto_ws/doc/proto_ws_admin.xml
Expand Up @@ -21,8 +21,8 @@
to act as SIP clients for the &osips; proxy.
</para>
<para>
The current implementation can only act as a WebSocket server, meaning that it can only
accept connections from WebSocket clients and cannot initiate connections to another
The current implementation acts both as WebSocket server and client, thus it can
accept connections from WebSocket clients and can also initiate connections to another
WebSocket server. After the connection is established, messages can flow in
both directions.
</para>
Expand Down
2 changes: 1 addition & 1 deletion modules/proto_ws/doc/proto_ws_faq.xml
Expand Up @@ -12,7 +12,7 @@
</question>
<answer>
<para>
No, currently &osips; can only behave as a Websocket server.
Yes, starting with &osips; 2.2, it can act as a WebSocket client.
</para>
</answer>
</qandaentry>
Expand Down

0 comments on commit 9dd26b8

Please sign in to comment.