# HttpWebSocketConnectionCollection.GetByIdentifier

Kind: Method  
Namespace: `Sisk.Core.Http.Streams`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Http.Streams.HttpWebSocketConnectionCollection.GetByIdentifier.html

## GetByIdentifier(string) {#Sisk_Core_Http_Streams_HttpWebSocketConnectionCollection_GetByIdentifier_System_String_}

Gets the Web Sockect connection for the specified identifier.

```csharp
public HttpWebSocket? GetByIdentifier(string identifier)
```

### Parameters

`identifier` [string](https://learn.microsoft.com/dotnet/api/system.string)

The Web Socket identifier.

### Returns

[HttpWebSocket](https://docs.sisk-framework.org/api/Sisk.Core.Http.Streams.HttpWebSocket.md)?
