I’m tinkering with my first websocket API using AP...
# sst
r
I’m tinkering with my first websocket API using API Gateway (used a bit of socket.io in the past) Anyone know which TypeScript type I should use for the handler, I can’t see anything obvious and the example here doesn’t mention it.
r
https://serverless-stack.slack.com/archives/C01JG3B20RY/p1646431952458809 maybe helpful I think either V1 or V2 should get you there, but seems like V1 is what fixed it up here.
r
Smashing, thank you. That’s got the requestContext.connectionId in it
Don't suppose you have used the aws-sdk v3 with websockets ?
Don't worry, think I've found the client I need. ApiGatewayManagementApiClient