ClientTrace can be used to trace API interactions for the JetStream Context.
| 358 | |
| 359 | // ClientTrace can be used to trace API interactions for the JetStream Context. |
| 360 | type ClientTrace struct { |
| 361 | RequestSent func(subj string, payload []byte) |
| 362 | ResponseReceived func(subj string, payload []byte, hdr Header) |
| 363 | } |
| 364 | |
| 365 | func (ct ClientTrace) configureJSContext(js *jsOpts) error { |
| 366 | js.ctrace = ct |
nothing calls this directly
no outgoing calls
no test coverage detected