Since: 8.4

class DistributedTracePayload (View source)

This object has two methods that will render a distributed trace payload as text.

Methods

string
text()

Renders the payload as a JSON string

string
httpSafe()

Renders the payload as an string suitable for transport via HTTP (query string, POST param, HTTP headers, etc.)

Details

string text()

Renders the payload as a JSON string

Return Value

string

string httpSafe()

Renders the payload as an string suitable for transport via HTTP (query string, POST param, HTTP headers, etc.)

Return Value

string