MCPcopy Index your code
hub / github.com/aceld/zinx / AddInterceptor

Method AddInterceptor

znet/client.go:343–345  ·  view source on GitHub ↗
(interceptor ziface.IInterceptor)

Source from the content-addressed store, hash-verified

341}
342
343func (c *Client) AddInterceptor(interceptor ziface.IInterceptor) {
344 c.msgHandler.AddInterceptor(interceptor)
345}
346
347func (c *Client) SetDecoder(decoder ziface.IDecoder) {
348 c.decoder = decoder

Callers

nothing calls this directly

Calls 1

AddInterceptorMethod · 0.65

Tested by

no test coverage detected