We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35ee537 commit 91db689Copy full SHA for 91db689
1 file changed
samples/FSharp.CosmosDb.Samples/Program.fs
@@ -83,21 +83,6 @@ let main argv =
83
let key = config.["Cosmos:Key"]
84
use conn = getFamiliesConnection host key
85
86
- let client = Cosmos.Raw.client conn
87
-
88
- client.ClientOptions.ConnectionMode <- ConnectionMode.Gateway
89
90
- client.ClientOptions.HttpClientFactory <-
91
- fun () ->
92
- printfn "running"
93
- let handler = new HttpClientHandler()
94
95
- handler.ServerCertificateCustomValidationCallback <-
96
- HttpClientHandler.DangerousAcceptAnyServerCertificateValidator
97
98
- let hc = new HttpClient(handler)
99
- hc
100
101
// let connectionString =
102
// config.["Cosmos:ConnectionString"]
103
0 commit comments