Skip to content

Commit

Permalink
Merge pull request #586 from alvasw/json_rpc_support_string_list_and_…
Browse files Browse the repository at this point in the history
…void_responses

JSON-RPC: Support StringList and Void responses
  • Loading branch information
alvasw authored Dec 7, 2022
2 parents edb1696 + 25d3c3c commit 1bd0c34
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
* License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/

package bisq.wallets.json_rpc.reponses;

import bisq.wallets.json_rpc.JsonRpcResponse;

import java.util.List;

public class JsonRpcStringListResponse extends JsonRpcResponse<List<String>> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
* License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/

package bisq.wallets.json_rpc.reponses;

import bisq.wallets.json_rpc.JsonRpcResponse;

public class VoidJsonRpcResponse extends JsonRpcResponse<String> {
}

0 comments on commit 1bd0c34

Please sign in to comment.