swift-nio-extras icon indicating copy to clipboard operation
swift-nio-extras copied to clipboard

Useful code around SwiftNIO.

Results 23 swift-nio-extras issues
Sort by recently updated
recently updated
newest added

https://github.com/apple/swift-nio-extras/blob/a75e92bde3683241c15df3dd905b7a6dcac4d551/Sources/NIOExtras/QuiescingHelper.swift#L229 If you create a new `QuiescingHelper()` but then end up not using it, it'll crash your program for a leaked promise. There's probably a better solution for that. If...

Currently, the LengthFieldBasedFrameDecoder reads a length, and then reads however many bytes the length specifies. Some protocols, include the length in the declared length field of a message. Without a...

### Motivation: NFS can be a very useful protocol. ### Modifications: Add the (read side, for now) of the NFS3 protocol. This adds (partial) implementations of the following RFCs: -...

### Motivation: PCAP is an important protocol. Previously the implementation was very incomplete and split between `NIOWritePCAPHandler` and its tests. ### Modifications: - Put the implementation into a (private) `NIOPCAP`...

semver/minor

Since #154, compiling swift-nio-extras now has warnings because the executable products aren't correctly identified as `.executableTarget`s.

### Motivation: `NIORequestResponseHandler` is great, for protocols where responses are in the same order as requests. Unfortunately, it doesn't work for protocols where responses may arrive out-of-order with regards to...

Many kinds of servers want to limit the maximum number of concurrent connections they'll accept in order to bound their resource commitment. It's a bit non-obvious how to do this...

kind/enhancement

I just had to create quite a long example on how to use the universal bootstrap over at https://github.com/apple/swift-nio-examples/pull/48 . That is too long and unwieldy. NIO needs to do...

### Expected behavior I'd like to print/log plain text conversations between client and server. Using the Debug(In|Out)boundEventsHandler, I'm only getting "NIOAny { ... }", which I don't understand how to...