Searched refs:wreq (Results 1 – 1 of 1) sorted by relevance
231 int websocket_connect(int sock, struct websocket_request *wreq, in websocket_connect() argument259 if (sock < 0 || wreq == NULL || wreq->host == NULL || in websocket_connect()260 wreq->url == NULL) { in websocket_connect()277 ctx->recv_buf.buf = wreq->tmp_buf; in websocket_connect()278 ctx->recv_buf.size = wreq->tmp_buf_len; in websocket_connect()280 ctx->http_cb = wreq->http_cb; in websocket_connect()312 req.url = wreq->url; in websocket_connect()313 req.host = wreq->host; in websocket_connect()316 req.optional_headers_cb = wreq->optional_headers_cb; in websocket_connect()317 req.optional_headers = wreq->optional_headers; in websocket_connect()[all …]