-
Notifications
You must be signed in to change notification settings - Fork 95
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
Static timeout values in Conn #10
Labels
Comments
There's no reason I can think of that they couldn't be. Feel like opening a PR? |
I am feeling it 💃 |
h4cc
added a commit
to h4cc/websockex
that referenced
this issue
Jun 1, 2017
…t_timeout and :recv_timeout. Issue Azolo#10
It looks good, I left a couple of comments. But I think I prefer the iex> struct(WebSockex.Conn)
%WebSockex.Conn{cacerts: nil, conn_mod: nil, extra_headers: [], host: nil,
insecure: true, path: nil, port: nil, query: nil, socket: nil, transport: nil,
socket_connect_timeout: 6000, socket_recv_timeout: 5000} But functionality wise, it looks spot on. |
h4cc
added a commit
to h4cc/websockex
that referenced
this issue
Jun 6, 2017
… values in Conn struct. Issue Azolo#10
Thanks for your feedback, i updated the implementation. |
Azolo
pushed a commit
that referenced
this issue
Jun 6, 2017
Closed by #15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be cool, if these two numbers could be part of the Conn-struct and interchangeable via options.
https://github.com/Azolo/websockex/blob/master/lib/websockex/conn.ex#L92
https://github.com/Azolo/websockex/blob/master/lib/websockex/conn.ex#L188
The text was updated successfully, but these errors were encountered: