diff --git a/packages/mytosis-websocket/src/__tests__/server.test.js b/packages/mytosis-websocket/src/__tests__/server.test.js
index <HASH>..<HASH> 100644
--- a/packages/mytosis-websocket/src/__tests__/server.test.js
+++ b/packages/mytosis-websocket/src/__tests__/server.test.js
@@ -147,4 +147,13 @@ describe('Mytosis websocket server', () => {
       expect.any(Function)
     );
   });
+
+  it('adds a type to the socket', () => {
+    const socket = new Emitter();
+    wss.emit('connection', socket);
+
+    const websockets = server.type('websocket');
+
+    expect([...websockets].length).toBe(1);
+  });
 });
diff --git a/packages/mytosis-websocket/src/server.js b/packages/mytosis-websocket/src/server.js
index <HASH>..<HASH> 100644
--- a/packages/mytosis-websocket/src/server.js
+++ b/packages/mytosis-websocket/src/server.js
@@ -27,6 +27,8 @@ class Connection {
    */
   constructor (socket) {
     this.id = uuid();
+    this.type = 'websocket';
+
     this._socket = socket;
 
     this.messages = new Stream((push) => {
Add connection type

Allows you to filter connections by their type.