[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets a value that indicates whether to make a persistent connection to the Internet resource.
Assembly: System.Http (in System.Http.dll)
Set this property to true to send a Connection HTTP header with the value Keep-alive. An application uses to indicate a preference for persistent connections. When the property is true, the application makes persistent connections to the servers that support them.
When using HTTP/1.1, Keep-Alive is on by default. Setting to false may result in sending a Connection: Close header to the server.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.