#include "local-def.h"
#include "afb-method.h"
#include "afb-hreq.h"
+#include "afb-hsrv.h"
#include "afb-websock.h"
#include "afb-apis.h"
#include "afb-req-itf.h"
return 0;
if (!later) {
- struct afb_websock *ws = afb_websock_create(hreq->connection);
+ struct afb_websock *ws = afb_websock_create(hreq);
if (ws == NULL) {
/* TODO */
} else {