mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: check function and route parameter count (#6761)
This commit is contained in:
@ -8,7 +8,7 @@ module http
|
||||
#include "vschannel.c"
|
||||
fn C.new_tls_context() C.TlsContext
|
||||
|
||||
fn (req &Request) ssl_do(port int, method Method, host_name, path string) ?Response {
|
||||
fn (req &Request) ssl_do(port int, method Method, host_name string, path string) ?Response {
|
||||
mut ctx := C.new_tls_context()
|
||||
C.vschannel_init(&ctx)
|
||||
mut buff := malloc(C.vsc_init_resp_buff_size)
|
||||
|
@ -8,7 +8,7 @@ module http
|
||||
|
||||
#include <urlmon.h>
|
||||
|
||||
fn download_file_with_progress(url, out string, cb, cb_finished voidptr) {
|
||||
fn download_file_with_progress(url string, out string, cb voidptr, cb_finished voidptr) {
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user