@@ -120,15 +120,16 @@ public void InMemoryConnectionOverloadedCtor()
120
120
*
121
121
* By deriving from `HttpConnection`, it is possible to change the behaviour of the connection. The following
122
122
* provides some examples
123
- *
124
- *
123
+ */
124
+ #if ! DOTNETCORE
125
+
126
+ /**
125
127
* [[servicepoint-behaviour]]
126
128
* ===== ServicePoint behaviour
127
129
*
128
130
* If you are running on the Desktop CLR you can override specific properties for the current `ServicePoint` easily
129
131
* by overriding `AlterServicePoint` on an `IConnection` implementation deriving from `HttpConnection`
130
132
*/
131
- #if ! DOTNETCORE
132
133
public class MyCustomHttpConnection : HttpConnection
133
134
{
134
135
protected override void AlterServicePoint ( ServicePoint requestServicePoint , RequestData requestData )
@@ -186,15 +187,16 @@ public void UseX509CertificateHttpConnection()
186
187
*/
187
188
#endif
188
189
#if DOTNETCORE
189
- /*
190
+ /**
190
191
* [[kerberos-authentication]]
191
192
* ===== Kerberos Authentication
192
193
*
193
- * For a lot of use cases subclassing HttpConnection is a great way to customize the http connection for your needs.
194
- * E.g if you want to authenticate with Kerberos, creating a custom HttpConnection as followed allows you to set the right HTTP headers.
194
+ * For a lot of use cases, deriving from `HttpConnection` is a great way to customize the connection for your needs.
195
+ * If you want to authenticate with Kerberos for example, creating a custom `HttpConnection` as follows
196
+ * allows you to set the right HTTP headers
195
197
*
196
198
*
197
- * TIP use something like https://www.nuget.org/packages/Kerberos.NET/ to fill in the actual blanks of this implementation
199
+ * TIP: use something like https://www.nuget.org/packages/Kerberos.NET/ to fill in the actual blanks of this implementation
198
200
*/
199
201
public class KerberosConnection : HttpConnection
200
202
{
0 commit comments