Skip to content

When using the Devtools, how can I pass query string parameters when connecting to the hub? #159

@INTECForBusiness

Description

@INTECForBusiness

Hi,

I am trying out your tool, but I need to pass some query string parameters when connecting to the Signal R hub. I have the following typescript that builds the connection object.

const connection = new HubConnectionBuilder()
.withAutomaticReconnect()
.withStatefulReconnect()
.configureLogging(signalR.LogLevel.Information)
.withUrl(window.location.protocol + "//" + window.location.host + ":"+window.location.port+ "/api/hub?Version=1&CFDId="+this.dataService.CFDId)
.build();

As you can see it passes in a version and CFDId value. How can I set this in the devtools when connecting

Image

Thanks

Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions