-
Hello! I configured all my scripts etc. But now I'm facing a problem: Can I somehow break the connection after 300 ms and return 204 error? Really need that |
Beta Was this translation helpful? Give feedback.
Answered by
rustatian
Jun 20, 2023
Replies: 1 comment 27 replies
-
Hey @PakToPack 👋🏻 Break connection? Do you mean some DB connection or ? |
Beta Was this translation helpful? Give feedback.
27 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, you've seen the video-tutorial. You need to create an RPC interface on your
plugin.go
with methods you need.Velox
is used to build RR with your custom plugin. If you wanted to build it by yourself you may add your plugin to the list of the RR plugins and build the server like a regular Go app.Then, you may use this:
To call the methods from your plugin, where,
App
is the name of your plugin,Hi
is the method you're calling andAntony
is the argument you passed to your plugin. It's better to useprotobuf
as the argument you passing to the plugin. You may have a look at theroadrunner-php/jobs
PHP part androadrunner-server/jobs
Go part.