ProtocolEvent

sealed class ProtocolEvent : Event(source)

Represents a traffic event for any protocol that we support.

Inheritors

Types

Link copied to clipboard
class Incoming(uri: Uri, method: Method, status: ProtocolStatus, latency: Long, xUriTemplate: String, protocol: String) : ProtocolEvent
Link copied to clipboard
class Outgoing(uri: Uri, method: Method, status: ProtocolStatus, latency: Long, xUriTemplate: String, protocol: String) : ProtocolEvent

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val uri: Uri
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator fun Event.plus(that: Pair<String, Any>): Event

Attach some metadata to this event