[][src]Crate pubnub_core

PubNub Core

Provides the common high-level logic for PubNub clients.

  • Fully async/await ready.
  • Modular, bring your own Transport and Runtime.
  • Multiplexes subscription polling for multiple logical streams over a single transport invocation to optimize kernel network subsystem pressure.

Build your own client, or use preconfigured pubnub-hyper.

Re-exports

pub use json;

Modules

data

Data structs and enums.

mock

Mock objects, useful in testing and development.

Structs

Builder

PubNub Client Builder

PubNub

PubNub Client

Subscription

Inbound PubNub message stream

Traits

Runtime

Runtime abstracts away the underlying runtime we use for task scheduling.

Transport

Transport abstracts away the underlying mechanism through which the PubNub client communicates with the PubNub network.

TransportService

Service respresents a single unit of an async request/response based API.

Attribute Macros

async_trait