We need to expose the lsps0.listprotocols method and let it become queriable from others.
In #15, the return of LSPS0Response of handle_request is rejected. And there is no return after handling the lsps0 request.
If I am not misunderstanding, the LSPS0Response should pop up as an Event, and anyone sending the query can acquire the event after the query, and by comparing the RequestId to get the corresponding event for the request.
This PR handles the lsps0 request and creates an event when handling the request, such that we can do an lsps0 query and get the result.
If there is anything I can do to make this RP be merged easier, please let me know.
Thanks. :pray:
We need to expose the
lsps0.listprotocols
method and let it become queriable from others.In #15, the return of
LSPS0Response
ofhandle_request
is rejected. And there is no return after handling the lsps0 request.If I am not misunderstanding, the
LSPS0Response
should pop up as an Event, and anyone sending the query can acquire the event after the query, and by comparing theRequestId
to get the corresponding event for the request.This PR handles the lsps0 request and creates an event when handling the request, such that we can do an lsps0 query and get the result.
If there is anything I can do to make this RP be merged easier, please let me know.
Thanks. :pray: