@vtex/api
Version:
VTEX I/O API client
5 lines (4 loc) • 362 B
TypeScript
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
import { Span } from 'opentracing';
export declare const injectRequestInfoOnSpan: (span: Span | undefined, http: AxiosInstance, config: AxiosRequestConfig) => void;
export declare const injectResponseInfoOnSpan: (span: Span | undefined, response: AxiosResponse<any> | undefined) => void;