Skip to content

WebSocket Guides#381

Merged
Corb3nik merged 2 commits into
mainfrom
AP-WebSocket-Guides
Jun 16, 2026
Merged

WebSocket Guides#381
Corb3nik merged 2 commits into
mainfrom
AP-WebSocket-Guides

Conversation

@ninjeeter

Copy link
Copy Markdown
Contributor

Closes #367 & #374

Copilot AI review requested due to automatic review settings June 15, 2026 20:44
@ninjeeter ninjeeter requested a review from Corb3nik as a code owner June 15, 2026 20:44
@netlify

netlify Bot commented Jun 15, 2026

Copy link
Copy Markdown

Deploy Preview for caido-documentation ready!

Name Link
🔨 Latest commit b7a9b6f
🔍 Latest deploy log https://app.netlify.com/projects/caido-documentation/deploys/6a30645c64478d00082a2ec5
😎 Deploy Preview https://deploy-preview-381--caido-documentation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown
Contributor

Images automagically compressed by Calibre's image-actions

Compression reduced images by 79.2%, saving 669.3 KB.

Filename Before After Improvement Visual comparison
src/_images/replay_websocket_upgrade.png 196.6 KB 47.8 KB 75.7% View diff
src/_images/replay_websocket_message.png 164.4 KB 17.8 KB 89.2% View diff
src/_images/match_replace_websocket.png 142.3 KB 29.9 KB 79.0% View diff
src/_images/replay_manual_session.png 138.1 KB 37.0 KB 73.2% View diff
src/_images/replay_websocket.png 87.6 KB 19.4 KB 77.8% View diff
src/_images/match_replace_websocket_enable.png 79.8 KB 17.0 KB 78.7% View diff
src/_images/match_replace_websocket_tamper.png 36.8 KB 7.4 KB 80.0% View diff

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new how-to guides documenting WebSocket support introduced in v0.57.0 (Replay WebSocket sessions and Match & Replace for WebSocket messages), and updates navigation/wording to distinguish HTTP Replay guidance from WebSocket Replay guidance.

Changes:

  • Added a new Replay guide for creating WebSocket sessions and sending messages.
  • Added a new Match & Replace guide for tampering with WebSocket messages and viewing the result in WS History.
  • Updated the Replay requests guide/title and the Guides sidebar to reflect the new HTTP vs WebSocket split.

Reviewed changes

Copilot reviewed 4 out of 11 changed files in this pull request and generated 3 comments.

File Description
src/app/guides/replay_websocket.md New how-to guide for creating a Replay WebSocket session and sending messages.
src/app/guides/replay_requests.md Renames the guide to explicitly cover HTTP Replay and adds a manual session creation note.
src/app/guides/match_replace_websocket.md New how-to guide for applying Match & Replace rules to WebSocket traffic and viewing tampered output.
.vitepress/sidebars/app/guides.ts Adds the two new guides to the sidebar and updates the Replay HTTP guide label.

Comment on lines +5 to 8
# Sending HTTP Requests to Replay

::: tip <code><Icon icon="fas fa-video" /></code> Video Demonstration
---

To send a WebSocket message in Replay, **click** on the <code><Icon icon="fas fa-chevron-down" /></code> attached to the `+ New Session` button and select <code><Icon icon="fas fa-arrow-right-arrow-left" /> WebSocket</code>.

<img alt="Creating a new WebSocket Replaysession." src="/_images/replay_websocket.png" center width=350>

# Modifying WebSocket Messages

To modify an outgoing or incoming WebSocket message, **click** on the `Section` drop-down menu and select either `Request Websocket` or `Response Websocket`.
@Corb3nik Corb3nik merged commit 65210ee into main Jun 16, 2026
7 checks passed
@Corb3nik Corb3nik deleted the AP-WebSocket-Guides branch June 16, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Websocket in replay

3 participants