Crate cocaine [−] [src]
Roadmap:
- [x] Unicorn wrapper.
- [x] Send headers.
- [ ] Notify about send events completion.
- [ ] Infinite buffer growing protection.
- [x] Implement
local_addr
andpeer_addr
forService
. - [ ] 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::ServiceBuilder; |
pub use self::service::locator::EventGraph; |
Modules
dispatch |
Contains helper dispatches that ease working with common protocols, like |
hpack |
Header Compression for HTTP/2. |
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 |
This module contains various simplifications aimed to ease working with services: builders and façades. |
Macros
cocaine_log |
Logs a message using logger into the Logging Service. |
Structs
Core |
An event loop. |
FixedResolver |
A no-op resolver, that always returns preliminarily specified endpoints. |
Resolver |
A |
Sender |
An upstream for sending additional chunks into a channel. |
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. |