We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Well, FS ESL protocol format is looked like below
command args \n\n sendmsg [uuid]\n call-command: execute \n execute-app-name: answer \n execute-app-arg: ,,, \n
If sending is ordered so the replies is ordered
so we could use the batch mode like LevelDB BatchWrite to batch multi commands and execute in on send and wait multi replies
type BatchCommand struct { }
and usage is
batch := &BatchCommand{} batch .Connect() .Answer() .Api("originate", "user/1000@default &echo()", "") .Api("Other api execute") .execute() // sync wait replies connectResponse, err := batch.Reply.Next() answerResponse , err:= batch.Reply.Next() originateRspons, err:= batch.Reply.Next() // and so on
This design is very usefule when you call getvar or setvar :)
getvar
setvar
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Motivation
Well, FS ESL protocol format is looked like below
If sending is ordered so the replies is ordered
so we could use the batch mode like LevelDB BatchWrite to batch multi commands and execute in on send and wait multi replies
Design
and usage is
This design is very usefule when you call
getvar
orsetvar
:)The text was updated successfully, but these errors were encountered: