mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 23:58:44 +05:00
Skel of HTTPAgent with interfaces for both request and reply decoder/encoders
This commit is contained in:
@@ -368,7 +368,7 @@ func startHTTPAgent(internalSMGChan chan rpcclient.RpcClientConnection, exitChan
|
||||
}
|
||||
}
|
||||
server.RegisterHttpHandler(agntCfg.Url,
|
||||
agents.NewHttpAgent(sSConn, agntCfg.Timezone, agntCfg.RequestPayload,
|
||||
agents.NewHTTPAgent(sSConn, agntCfg.Timezone, agntCfg.RequestPayload,
|
||||
agntCfg.ReplyPayload, agntCfg.RequestProcessors))
|
||||
}
|
||||
exitChan <- true
|
||||
|
||||
Reference in New Issue
Block a user