Home / Function/ assertCloseWebSocketFrame() — netty Function Reference

assertCloseWebSocketFrame() — netty Function Reference

Architecture documentation for the assertCloseWebSocketFrame() function in WebSocket00FrameEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5239aed9_81ef_8f25_0057_019b1c942793["assertCloseWebSocketFrame()"]
  4e6e9c04_28d4_5805_975d_ccd38dec1e6e["WebSocket00FrameEncoderTest"]
  5239aed9_81ef_8f25_0057_019b1c942793 -->|defined in| 4e6e9c04_28d4_5805_975d_ccd38dec1e6e
  f4a6f8bb_062c_6f50_c21e_146c9086393f["testMultipleWebSocketCloseFrames()"]
  f4a6f8bb_062c_6f50_c21e_146c9086393f -->|calls| 5239aed9_81ef_8f25_0057_019b1c942793
  style 5239aed9_81ef_8f25_0057_019b1c942793 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocket00FrameEncoderTest.java lines 40–46

    private static void assertCloseWebSocketFrame(EmbeddedChannel channel) {
        ByteBuf buf = channel.readOutbound();
        assertEquals(2, buf.readableBytes());
        assertEquals((byte) 0xFF, buf.readByte());
        assertEquals((byte) 0x00, buf.readByte());
        buf.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does assertCloseWebSocketFrame() do?
assertCloseWebSocketFrame() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocket00FrameEncoderTest.java.
Where is assertCloseWebSocketFrame() defined?
assertCloseWebSocketFrame() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocket00FrameEncoderTest.java at line 40.
What calls assertCloseWebSocketFrame()?
assertCloseWebSocketFrame() is called by 1 function(s): testMultipleWebSocketCloseFrames.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free