feat: Add encoderhero and heroscript_dumps/loads
- Add encoderhero import to multiple modules - Implement heroscript_dumps and heroscript_loads functions - Update several methods to use `if mut` for cleaner optionals - Rename rclone globals for clarity
This commit is contained in:
@@ -44,6 +44,11 @@ fn (mut t HTTPTransport) send(request string, params jsonrpc.SendParams) !string
|
||||
return response
|
||||
}
|
||||
|
||||
// url implements the IRPCTransportClient interface
|
||||
fn (t HTTPTransport) url() string {
|
||||
return t.http_conn.base_url
|
||||
}
|
||||
|
||||
// Admin methods
|
||||
|
||||
// get_info gets general info about the node
|
||||
|
||||
Reference in New Issue
Block a user