# GetWebsocketUri Method

## Overloads

| [GetWebsocketUri(ISession, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.GenericLocation.GetWebsocketUri.htm#Qlik_Sense_JsonRpc_GenericLocation_GetWebsocketUri_Qlik_Sense_JsonRpc_ISession_System_String_) |  | Returns the full Uri used when performing a websocket connection. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.GenericLocation.GetWebsocketUri.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.GenericLocation.GetWebsocketUri.htm)

## GetWebsocketUri(ISession, String)

Returns the full Uri used when performing a websocket connection.

### Declaration

```

          public abstract Uri GetWebsocketUri(ISession session, string wsParameters)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ISession](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ISession.htm) | session | The session used when connecting. |
| System.String | wsParameters | Session specific websocket parameters. |

### Returns

| Type | Description |
| --- | --- |
| System.Uri | Uri |

### Implements

[IGenericLocation.GetWebsocketUri(ISession, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.GetWebsocketUri.htm#Qlik_Sense_JsonRpc_IGenericLocation_GetWebsocketUri_Qlik_Sense_JsonRpc_ISession_System_String_)