<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEProxySettings/httpServer",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEProxySettings(py)HTTPServer"
  },
  "title" : "httpServer"
}
-->

# httpServer

An [`NEProxyServer`](/documentation/NetworkExtension/NEProxyServer) object containing the static HTTP proxy server settings.

```
@NSCopying var httpServer: NEProxyServer? { get set }
```

## Discussion

If [`autoProxyConfigurationEnabled`](/documentation/NetworkExtension/NEProxySettings/autoProxyConfigurationEnabled) is <doc://com.apple.documentation/documentation/Swift/false> and [`httpEnabled`](/documentation/NetworkExtension/NEProxySettings/httpEnabled) is <doc://com.apple.documentation/documentation/Swift/true>, then the proxy server specified in this property will be used for HTTP connections.

## See Also

[`autoProxyConfigurationEnabled`](/documentation/NetworkExtension/NEProxySettings/autoProxyConfigurationEnabled)

A Boolean indicating if proxy auto-configuration is enabled.



---

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)