http: backend_windows - use Method enum in ssl_do()

pull/6002/head
joe-conigliaro 2020-07-28 14:35:21 +10:00
parent 395e886b2e
commit 5d49034c31
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module http
fn C.new_tls_context() C.TlsContext
fn (req &Request) ssl_do(port int, method, host_name, path string) ?Response {
fn (req &Request) ssl_do(port int, method Method, host_name, path string) ?Response {
mut ctx := C.new_tls_context()
C.vschannel_init(&ctx)