Answer the question
In order to leave comments, you need to log in
Is it possible to accept GET and POST requests with Socket.io?
You can somehow accept GET and POST requests using Socket.io. Like express, you can write something like this:
app.get('/', (req, res) => {
// code...
})
Socket.get('/', (res, req) => {
// code...
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question