-
Notifications
You must be signed in to change notification settings - Fork 84
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
Getting query string parameters with asp.net core. #335
Comments
This is how setting up public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
WampHost host = new WampHost();
app.Map("/ws", builder =>
{
builder.UseWebSockets();
host.RegisterTransport(new AspNetCoreWebSocketTransport(builder),
new JTokenJsonBinding(),
new JTokenMsgpackBinding());
});
host.Open();
} Since you pass the Elad |
Well, not really, I know how to configure and register "Caller" or "Calee" but I still can't figure out how to retrieve query parameters from http context in the way like you did in the example. |
Can you describe a simple example of what you are willing to achieve?
Elad
…On Tue, Jun 22, 2021, 13:06 Dawid Rzeszutek ***@***.***> wrote:
Well, not really, I know how to configure and register "Caller" or "Calee"
but I still can't figure out how to retrieve query parameters from http
context in the way like you did in the example.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#335 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIS75VFVQHC4EZ3GRB2GTLTUC7LFANCNFSM47BYNJJQ>
.
|
First of all I think I misled you a little bit, I want to expose So lets assume that I have super simple service ping-ponging the server and client.
And my
How may I achieve this? |
Hello,
My goal is to connect to Caller with path e.g.
ws://localhost:8081/ws
, but I want to provide additional GET paramer to URL (so it becomes more likews://localhost:8081/ws/<resource-id>
) and e.g. reject the connection. My question is, is it possible in current state of this library? Is there any DI service containing context? Maybe I can use HttpContext in handlers? Should I make my own workaround, or use WAMP host in controller method taking GET params?Thanks in advance!
The text was updated successfully, but these errors were encountered: