mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-12 22:10:01 -04:00
add basic websocket support
This commit is contained in:
parent
8ad11cd515
commit
17d8c9fa8c
10 changed files with 292 additions and 29 deletions
5
client/util.c
Normal file
5
client/util.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
#include <string.h>
|
||||
|
||||
int starts_with(const char *a, const char *b) {
|
||||
return strncmp(a, b, strlen(b)) == 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue