1
0
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:
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

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)