Skip to content

[Question] Why not use AddressBindContext.ServerOptions instead of listenOptions in AddressBinder.BindAsync? #25033

Answered by halter73
wu-yafeng asked this question in General
Discussion options

You must be logged in to vote

I think it is technically redundant given how it's currently used, but it's an internal API. Having the listenOptions as a separate parameter does make AddressBinder.BindAsync more flexible even if nothing is taking advantage of that flexibility.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by wu-yafeng
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants