Library Moduleswift-nio 2.74.0NIOTestUtils

    NIOTestUtils

    import NIOTestUtils

    Module information

    Declarations
    72
    Symbols
    79

    Coverage

    73.6 percent of the declarations in NIOTestUtils are fully documented16.7 percent of the declarations in NIOTestUtils are indirectly documented9.7 percent of the declarations in NIOTestUtils are completely undocumented

    Declarations

    13.9 percent of the declarations in NIOTestUtils are initializers, type members, or enum cases70.8 percent of the declarations in NIOTestUtils are instance members6.9 percent of the declarations in NIOTestUtils are structures2.8 percent of the declarations in NIOTestUtils are classes5.6 percent of the declarations in NIOTestUtils are typealiases

    Interfaces

    100.0 percent of the declarations in NIOTestUtils are unrestricted
    Module stats and coverage details

    Uncategorized

    Types

    • enum ByteToMessageDecoderVerifier
    • class EventCounterHandler

      EventCounterHandler is a ChannelHandler that counts and forwards all the events that it sees coming through the ChannelPipeline.

    • class NIOHTTP1TestServer

      HTTP1 server that accepts and process only one request at a time. This helps writing tests against a real server while keeping the ability to write tests and assertions the same way we would if we were testing a ChannelHandler in isolation. NIOHTTP1TestServer enables writing test cases for HTTP1 clients that have complex behaviours like client implementing a protocol where an high level operation translates into several, possibly parallel, HTTP requests.

    • struct NIOHTTP1TestServerError

    Other modules