Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support WebSocket packet filters #548

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 3, 2020

  1. Add user rule for WebSocket: beforeReadWsMessage & beforeSendWsMessage.

    beforeReadWsMessage is passed with two parameters: [event: MessageEvent, wsUrl: string],
    where `event` is passed from WebSocket.onmessage, and wsUrl is the connection's url.
    beforeReadWsMessage is called after the message arrives and before the client reads it.
    beforeSendWsMessage is similar to beforeSendWsMessage, passed with [event: MessageEvent, wsUrl: string].
    Chenyu Wang committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    34fadaa View commit details
    Browse the repository at this point in the history
  2. Ignore idea files

    Chenyu Wang committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    3c735ca View commit details
    Browse the repository at this point in the history