Crate cocaine [−] [src]
Roadmap:
- [x] Unicorn wrapper.
- [x] Send headers.
- [ ] Notify about send events completion.
- [ ] Infinite buffer growing protection.
- [ ] Implement
local_addr
andpeer_addr
forService
. - [ ] Maybe rename
service::Builder
toservice::ServiceBuilder
. - [ ] Disconnect event.
- [ ] Generic multiplexer over the socket type, allowing to work with both TCP and Unix sockets.
- [ ] Receiving headers.
- [ ] HPACK encoder.
- [ ] HPACK decoder.
Reexports
pub use self::service::Builder; |
Modules
dispatch |
Contains helper dispatches that ease working with common protocols, like |
hpack | |
logging |
Contains a logging service with helper macro to ease integration with the cloud logging system. |
protocol |
Contains protocol-specific helpers for deserialization and error handling. |
service |
Macros
cocaine_log |
Structs
Core |
An event loop. |
FixedResolver |
A no-op resolver, that always returns preliminarily specified endpoints. |
Resolver |
A |
Sender | |
Service |
A low-level entry point to the Cocaine Cloud. |
Enums
Error |
An |
Traits
Dispatch |
Receiver part of every multiplexed non-mute request performed with a service. |
Resolve |
Cloud name resolution for services. |