AutoWrapper icon indicating copy to clipboard operation
AutoWrapper copied to clipboard

Should Websocket requests be ignored, like Swagger?

Open frostless opened this issue 3 years ago • 1 comments

Handling websocket requests seem to be a bit tricky due to this protocol's nature. The log files will be flooded with websocket-related messsages and I usually get this "The response has already started, the AutoWrapper middleware will not be executed" error. At least add an option(global or action-level) to filter them out?

frostless avatar Jun 21 '21 00:06 frostless

Hi,

Have you tried looking into the ExcludePaths property to ignore a particular path for websockets?

https://github.com/proudmonkey/AutoWrapper#exclude-paths

proudmonkey avatar Jun 30 '21 19:06 proudmonkey