http: backend_windows - use Method enum in ssl_do()
parent
395e886b2e
commit
5d49034c31
|
@ -11,7 +11,7 @@ module http
|
||||||
|
|
||||||
fn C.new_tls_context() C.TlsContext
|
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()
|
mut ctx := C.new_tls_context()
|
||||||
C.vschannel_init(&ctx)
|
C.vschannel_init(&ctx)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue