ProtocolEvent

sealed class ProtocolEvent : Event

Represents a traffic event for any protocol that we support.

Inheritors

Types

Link copied to clipboard
class Incoming(val uri: Uri, val method: Method, val status: ProtocolStatus, val latency: Long, val xUriTemplate: String, val protocol: String) : ProtocolEvent
Link copied to clipboard
class Outgoing(val uri: Uri, val method: Method, val status: ProtocolStatus, val latency: Long, val xUriTemplate: String, val 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