diff --git a/src/HttpResponseWrapper.h b/src/HttpResponseWrapper.h index 26c1d67..196ad4a 100644 --- a/src/HttpResponseWrapper.h +++ b/src/HttpResponseWrapper.h @@ -284,7 +284,7 @@ struct HttpResponseWrapper { /* Immediately calls open handler */ res->template upgrade({ - .socketPf = &userData + &userData }, secWebSocketKey.getString(), secWebSocketProtocol.getString(), secWebSocketExtensions.getString(), context);