---
title: autoReplyPing
framework: network
role: symbol
role_heading: Instance Property
path: network/nwprotocolwebsocket/options/autoreplyping
---

# autoReplyPing

A Boolean indicating whether the connection automatically replies to Ping messages instead of delivering them to you.

## Declaration

```swift
var autoReplyPing: Bool { get set }
```

## See Also

### Configuring WebSocket Options

- [init(_:)](network/nwprotocolwebsocket/options/init(_:).md)
- [NWProtocolWebSocket.Version](network/nwprotocolwebsocket/version.md)
- [maximumMessageSize](network/nwprotocolwebsocket/options/maximummessagesize.md)
