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

Wildcard Regex pattern for Service Paths #198

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dabbers
Copy link

@dabbers dabbers commented Jan 9, 2016

Adding the capabilities to allow a regex based pattern for service paths. Lets you be more flexible for service assignment.

You can have websockets that bind to this path:
/report/.*
to allow for websockets that do:
/report/1339481

Lets you be more flexible with your service paths. Default behavior for this change will resort to the previous behavior. Otherwise, if true is passed for using a wildcard service path, you can use any valid regex for your path instead to match what is passed in from the websocket client.

Adding the capabilities to allow a regex based pattern for service
paths. Lets you be more flexible for service assignment.
@dabbers
Copy link
Author

dabbers commented Feb 5, 2016

Thoughts on this?

@sta
Copy link
Owner

sta commented Feb 9, 2016

Hello there,

While considering, but i don't plan to merge this for now.

@sberney
Copy link

sberney commented Nov 3, 2016

+1 looks good to me

@igolaizola
Copy link

Any update on this?

@dyl10s
Copy link

dyl10s commented Apr 3, 2019

This would be a very useful feature!

Willis1776 added a commit to Willis1776/websocket-sharp that referenced this pull request Jan 31, 2024
sta#22 - Added CustomHeaders to WebSocketClient (Enhancement)
sta#198 - Wildcard Regex pattern for Service Paths
sta#730 - add_http_response_code_and_body_when_handshake_error
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.

5 participants