# ListeningPort.ToString

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

## ToString() {#Sisk_Core_Http_ListeningPort_ToString}

Gets an string representation of this [ListeningPort](https://docs.sisk-framework.org/api/Sisk.Core.Http.ListeningPort.md).

```csharp
public override string ToString()
```

### Returns

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

## ToString(bool) {#Sisk_Core_Http_ListeningPort_ToString_System_Boolean_}

Gets an string representation of this [ListeningPort](https://docs.sisk-framework.org/api/Sisk.Core.Http.ListeningPort.md).

```csharp
public string ToString(bool includePath = true)
```

### Parameters

`includePath` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

Optional. Defines whether the path should be included in the result string.

### Returns

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