MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / SetOptionSync

Method SetOptionSync

abci/client/socket_client.go:311–318  ·  view source on GitHub ↗
(req types.RequestSetOption)

Source from the content-addressed store, hash-verified

309}
310
311func (cli *socketClient) SetOptionSync(req types.RequestSetOption) (*types.ResponseSetOption, error) {
312 reqres := cli.queueRequest(types.ToRequestSetOption(req))
313 if err := cli.FlushSync(); err != nil {
314 return nil, err
315 }
316
317 return reqres.Response.GetSetOption(), cli.Error()
318}
319
320func (cli *socketClient) DeliverTxSync(req types.RequestDeliverTx) (*types.ResponseDeliverTx, error) {
321 reqres := cli.queueRequest(types.ToRequestDeliverTx(req))

Callers

nothing calls this directly

Calls 5

queueRequestMethod · 0.95
FlushSyncMethod · 0.95
ErrorMethod · 0.95
ToRequestSetOptionFunction · 0.92
GetSetOptionMethod · 0.45

Tested by

no test coverage detected