Sean McArthur: hyper v0.6 |
A bunch of goodies are included in version 0.6 of hyper.
Ssl
support. The Server
and Client
can accept any implementation of the Ssl
trait. By default, hyper comes with an implementation for OpenSSL, but this can now be disabled via the ssl
cargo feature.Client
. As in, Client
is Sync
. You can share a Client
over multiple threads, and make several requests simultaneously. Also, as a reminder, hyper has been following semver more closely, and so, breaking changes mean bumping the minor version (until 1.0). So, to reduce unplanned breakage, you should probably depend on a specific minor version, such as 0.6
, and not *
.
Комментировать | « Пред. запись — К дневнику — След. запись » | Страницы: [1] [Новые] |