Hi all,

Does web sockets work through nginx, haproxy like load balancers?

thank you.

On Fri, May 20, 2016 at 9:37 AM, Sinthuja Ragendran <sinth...@wso2.com>
wrote:

> Hi Dhanushka,
>
> You don't need to do any special changes, just include the server side
> code as shown in the sample [1] in a jag file, and mention that jag URL in
> the client side to connect via web socket. As per the example, the jaggery
> app for ws server side should be in below format.
>
> - sample
>    - ws
>        - server.jag
>
> Thanks,
> Sinthuja.
>
>
> On Fri, May 20, 2016 at 9:26 AM, Danushka Fernando <danush...@wso2.com>
> wrote:
>
>> Hi
>> I tried to follow [1] to use some web sockets. But server url has to be
>> in either ws or wss protocols. How we can expose a jaggery app in these
>> protocols?
>>
>> [1] http://jaggeryjs.org/documentation.jag?api=webSocket
>>
>> Thanks & Regards
>> Danushka Fernando
>> Senior Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Sinthuja Rajendran*
> Associate Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>


-- 
Manjula Rathnayaka
Associate Technical Lead
WSO2, Inc.
Mobile:+94 77 743 1987
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to