Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to bind sockjs and like this #163

Open
0xAX opened this issue Jan 26, 2014 · 3 comments
Open

How to bind sockjs and like this #163

0xAX opened this issue Jan 26, 2014 · 3 comments

Comments

@0xAX
Copy link
Member

0xAX commented Jan 26, 2014

Hello All,

Got a question in IRC how to bind sockjs to the Weber.

I'm seeing two ways for doing this:

  1. Add sockjs-erlang as a standard _sj and config route as we doing with websockets.
  2. Use wrap for
cowboy:set_env(my_http_listener, dispatch, cowboy_router:compile(Dispatch)).

for updating current cowboy routing?

Any additional ideas/suggestions?

Links:

cc: @matheusca

@matheusca
Copy link
Contributor

In the sockjs documention there are two options, such as you described, so I think haven't more options to do it

Enviado via iPhone

Em 26/01/2014, às 15:39, 0xAX [email protected] escreveu:

Hello All,

Got a question in IRC how to bind sockjs to the Weber.

I'm seeing two ways for doing this:

Add sockjs-erlang as a standard _sj and config route as we doing with websockets.

Use wrap for

cowboy:set_env(my_http_listener, dispatch, cowboy_router:compile(Dispatch)).
for updating current cowboy routing?

Any additional ideas/suggestions?

Links:

socksj-erlang
cc: @matheusca


Reply to this email directly or view it on GitHub.

@0xAX
Copy link
Member Author

0xAX commented Jan 26, 2014

In the sockjs documention there are two options, such as you described, so I think haven't more options to do it

So.. need to choose the best :)

@matheusca
Copy link
Contributor

I don't know, think it's be better like cowboy's wrapper

Enviado via iPhone

Em 26/01/2014, às 16:09, 0xAX [email protected] escreveu:

In the sockjs documention there are two options, such as you described, so I think haven't more options to do it

So.. need to choose the best :)


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants