<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 12.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/nw_ws_response_status_t",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "c:@EA@nw_ws_response_status_t"
  },
  "title" : "nw_ws_response_status_t"
}
-->

# nw_ws_response_status_t

Status values that are sent with a WebSocket server response.

```
struct nw_ws_response_status_t
```

## Topics

### Handshake Status Values

[`nw_ws_response_status_invalid`](/documentation/Network/nw_ws_response_status_invalid)

An invalid response status.

[`nw_ws_response_status_accept`](/documentation/Network/nw_ws_response_status_accept)

The client request is being accepted.

[`nw_ws_response_status_reject`](/documentation/Network/nw_ws_response_status_reject)

The client request is being rejected.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)