Skip to content

Wildcard Regex pattern for Service Paths#198

Open
dabbers wants to merge 4 commits into
sta:masterfrom
dabbers:master
Open

Wildcard Regex pattern for Service Paths#198
dabbers wants to merge 4 commits into
sta:masterfrom
dabbers:master

Conversation

@dabbers

@dabbers dabbers commented Jan 9, 2016

Copy link
Copy Markdown

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

dabbers commented Feb 5, 2016

Copy link
Copy Markdown
Author

Thoughts on this?

@sta

sta commented Feb 9, 2016

Copy link
Copy Markdown
Owner

Hello there,

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

@sberney

sberney commented Nov 3, 2016

Copy link
Copy Markdown

+1 looks good to me

@igolaizola

Copy link
Copy Markdown

Any update on this?

@dyl10s

dyl10s commented Apr 3, 2019

Copy link
Copy Markdown

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