mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: Guide novice users towards the options they are most likely to want to use. Modifications: New type to represent shorthand TCP client options containing only the options which are sensible for novice users. New type to represent a collection of these options. A method to allow underlying bootstraps to override universal behaviour - default implementation is to do nothing. A test case to demonstrate that shorthand options match old style options. A test case to demonstrate that overriding option behaviour is possible. Result: For universal botostrap there will be an new way of setting options involving less typing which guides the user towards the common options.