Skip to content

Should Websocket requests be ignored, like Swagger? #109

Open

Description

@frostless

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?

Activity

  1. proudmonkey commented on Jun 30, 2021

    @proudmonkey
    Owner

    Hi,

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions