Transport

interface Transport

SPI implemented by transport adapters (e.g. autograph-segment).

Autograph deliberately owns no queueing, batching, or retry logic — those concerns belong to the transport underneath.

Inheritors

Properties

Link copied to clipboard

True when this transport calls EnvelopeSource.stamp inside its own pipeline. In that case the core passes envelope = null to the event methods and the transport is responsible for stamping every event exactly once.

Functions

Link copied to clipboard
open fun connect(envelopes: EnvelopeSource)

Called once during setup, before any events are sent.

Link copied to clipboard
open fun flush()
Link copied to clipboard
abstract fun identify(userId: String, traits: JsonObject, envelope: Envelope?)
Link copied to clipboard
open fun reset()
Link copied to clipboard
abstract fun screen(name: String, properties: JsonObject, envelope: Envelope?)
Link copied to clipboard
abstract fun track(name: String, properties: JsonObject, envelope: Envelope?)