Skip to content

Commit b5f7e92

Browse files
http protocol
1 parent fc7e6e3 commit b5f7e92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/!__EMSCRIPTEN__/request/fdefine.request.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ BearHttpsRequest * newBearHttpsRequest_with_url_ownership_config(char *url,short
2020
private_BearsslHttps_strcpy(self->method,"GET");
2121
return self;
2222
}
23+
void BearHttpsRequest_set_http_protocol(BearHttpsRequest *self ,int http_protocol){
24+
self->http_protocol = http_protocol;
25+
}
2326

2427
void BearHttpsRequest_set_known_ips(BearHttpsRequest *self , const char *known_ips[],int known_ips_size){
2528
self->known_ips = known_ips;

0 commit comments

Comments
 (0)