MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / makeRequest

Method makeRequest

client/client.go:541–548  ·  view source on GitHub ↗
(class string, req *proxy.Request)

Source from the content-addressed store, hash-verified

539}
540
541func (c *Client) makeRequest(class string, req *proxy.Request) (*proxy.Response, error) {
542 if !c.completeCoordinates(req) {
543 return c.makeBroadcastRequestReturnFirstGoodResponse(class, req)
544 }
545
546 c.log.Error("request", "class", class, "req", req, "subject", c.subject(class, req))
547 return c.mbus.Request(c.subject(class, req), req)
548}
549
550func (c *Client) makeRequests(class string, req *proxy.Request) (responses []*proxy.Response, err error) {
551 if req == nil {

Callers 4

commandRequestMethod · 0.95
createRequestMethod · 0.95
getRequestMethod · 0.95
dataRequestMethod · 0.95

Calls 5

completeCoordinatesMethod · 0.95
subjectMethod · 0.95
RequestMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected