Метод | Описание | |
---|---|---|
__construct ( Tolerance\Tracer\IdentifierGenerator\IdentifierGenerator $identifierGenerator, Tolerance\Tracer\Clock\Clock $clock, Tolerance\Tracer\EndpointResolver\EndpointResolver $endpointResolver, Tolerance\Tracer\SpanStack\SpanStack $spanStack ) | ||
fromIncomingResponse ( GuzzleHttp\Message\RequestInterface $originalRequest, GuzzleHttp\Message\ResponseInterface $response = null ) : |
||
fromOutgoingRequest ( GuzzleHttp\Message\RequestInterface $request ) : |
Метод | Описание | |
---|---|---|
getName ( GuzzleHttp\Message\RequestInterface $request ) : string |
public __construct ( Tolerance\Tracer\IdentifierGenerator\IdentifierGenerator $identifierGenerator, Tolerance\Tracer\Clock\Clock $clock, Tolerance\Tracer\EndpointResolver\EndpointResolver $endpointResolver, Tolerance\Tracer\SpanStack\SpanStack $spanStack ) | ||
$identifierGenerator | Tolerance\Tracer\IdentifierGenerator\IdentifierGenerator | |
$clock | Tolerance\Tracer\Clock\Clock | |
$endpointResolver | Tolerance\Tracer\EndpointResolver\EndpointResolver | |
$spanStack | Tolerance\Tracer\SpanStack\SpanStack |
public fromIncomingResponse ( GuzzleHttp\Message\RequestInterface $originalRequest, GuzzleHttp\Message\ResponseInterface $response = null ) : |
||
$originalRequest | GuzzleHttp\Message\RequestInterface | |
$response | GuzzleHttp\Message\ResponseInterface | |
Результат |
public fromOutgoingRequest ( GuzzleHttp\Message\RequestInterface $request ) : |
||
$request | GuzzleHttp\Message\RequestInterface | |
Результат |