You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to get the URI or the headers of the request I can't because the rawRequest is null
var ws =AngelWebSocket(app);
ws.onConnection.listen((WebSocketContext event) {
var h = event?.request?.headers;
print('WebSocket onConnection $h');
...
Unhandled exception:Null check operator used on a null value#0 HttpRequestContext.headers (package:angel3_framework/src/http/http_request_context.dart:32:22)
How can I use "angel3_websocket" package without annotations, I haven't seen an example of usage without using a Controller Class with annotations.
bootstrap.dart
My implementation without using Angel is like this and ping works fine
websocket_server.dart
websocket_web_client.dart
The text was updated successfully, but these errors were encountered: