MCPcopy
hub / github.com/nats-io/nats.go / useOldRequestStyle

Method useOldRequestStyle

nats.go:4630–4635  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4628}
4629
4630func (nc *Conn) useOldRequestStyle() bool {
4631 nc.mu.RLock()
4632 r := nc.Opts.UseOldRequestStyle
4633 nc.mu.RUnlock()
4634 return r
4635}
4636
4637func (nc *Conn) request(subj string, hdr, data []byte, timeout time.Duration) (*Msg, error) {
4638 if nc == nil {

Callers 2

requestMethod · 0.95
requestWithContextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected