HTTP

class HTTP(val method: Trace.HTTP.Method = Method.UNKNOWN, request_headers: Map<String, Trace.HTTP.Values> = emptyMap(), response_headers: Map<String, Trace.HTTP.Values> = emptyMap(), val status_code: Int = 0, unknownFields: ByteString = ByteString.EMPTY) : Message<Trace.HTTP, Nothing>

Constructors

Link copied to clipboard
constructor(method: Trace.HTTP.Method = Method.UNKNOWN, request_headers: Map<String, Trace.HTTP.Values> = emptyMap(), response_headers: Map<String, Trace.HTTP.Values> = emptyMap(), status_code: Int = 0, unknownFields: ByteString = ByteString.EMPTY)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
enum Method : WireEnum, Enum<Trace.HTTP.Method>
Link copied to clipboard
class Values(value_: List<String> = emptyList(), unknownFields: ByteString = ByteString.EMPTY) : Message<Trace.HTTP.Values, Nothing>

Properties

Link copied to clipboard
val adapter: ProtoAdapter<Trace.HTTP>
Link copied to clipboard
Link copied to clipboard

Should exclude manual blacklist ("Auth" by default)

Link copied to clipboard
Link copied to clipboard
expect open val unknownFields: ByteString

Functions

Link copied to clipboard
fun copy(method: Trace.HTTP.Method = this.method, request_headers: Map<String, Trace.HTTP.Values> = this.request_headers, response_headers: Map<String, Trace.HTTP.Values> = this.response_headers, status_code: Int = this.status_code, unknownFields: ByteString = this.unknownFields): Trace.HTTP
Link copied to clipboard
expect fun encode(): ByteArray
expect fun encode(sink: BufferedSink)
Link copied to clipboard
expect fun encodeByteString(): ByteString
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
open override fun toString(): String