| 54 | { |
| 55 | /// @brief Initializes the async server with all needed memory buffers |
| 56 | template <typename T, |
| 57 | typename = typename TypeTraits::EnableIf<TypeTraits::IsBaseOf<HttpConnection, T>::value>::type> |
| 58 | Result init(Span<T> clients) |
| 59 | { |
| 60 | return initInternal({clients.data(), clients.sizeInElements(), sizeof(T)}); |
| 61 | } |
| 62 |