mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
http: backend_windows - use Method enum in ssl_do()
This commit is contained in:
parent
395e886b2e
commit
5d49034c31
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user