projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Expose RpcClient and RestClient interfaces as pub
[rust-lightning]
/
lightning-block-sync
/
src
/
http.rs
diff --git
a/lightning-block-sync/src/http.rs
b/lightning-block-sync/src/http.rs
index 0788bc989f5e3bfbdaeee747f50c7e0200e22560..a33d919d05179c7adccc8bf40fc7ed86b467bb21 100644
(file)
--- a/
lightning-block-sync/src/http.rs
+++ b/
lightning-block-sync/src/http.rs
@@
-399,10
+399,10
@@
enum HttpMessageLength {
}
/// An HTTP response body in binary format.
}
/// An HTTP response body in binary format.
-pub
(crate) struct BinaryResponse(pub(crate)
Vec<u8>);
+pub
struct BinaryResponse(pub
Vec<u8>);
/// An HTTP response body in JSON format.
/// An HTTP response body in JSON format.
-pub
(crate) struct JsonResponse(pub(crate)
serde_json::Value);
+pub
struct JsonResponse(pub
serde_json::Value);
/// Interprets bytes from an HTTP response body as binary data.
impl TryFrom<Vec<u8>> for BinaryResponse {
/// Interprets bytes from an HTTP response body as binary data.
impl TryFrom<Vec<u8>> for BinaryResponse {