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

dial/listen API change #3000

Merged
merged 3 commits into from
Sep 20, 2019
Merged

dial/listen API change #3000

merged 3 commits into from
Sep 20, 2019

Conversation

ry
Copy link
Member

@ry ry commented Sep 20, 2019

This PR floats a patch in deno_std https://github.com/denoland/deno_std/tree/20190920_dial
We can't land it there until the release has been made.

Thanks to @diasbruno for the initial pass at this

Previously: dial("tcp", "deno.land:80")
Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" })

Similarly with listen.
Copy link
Member

@piscisaureus piscisaureus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.

@ry ry merged commit 97bb2bd into denoland:master Sep 20, 2019
@ry ry deleted the dial_listen branch September 20, 2019 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants