This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let res = stream.then(move |stream| { | |
let stream = stream.expect("Error attaching to full node socket"); | |
client::post(&endpoint) | |
.timeout(Duration::from_secs(8)) | |
.with_connection(Connection::from_stream(stream)) | |
.json(func_call) | |
.unwrap() | |
.send() | |
.then(move |response| { | |
trace!("Got response {:?}", response); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link href="https://cdn.rawgit.com/kingoflolz/99782786093f489c116e/raw/style.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="heading"> | |
<div class="score-container">0</div> | |
</div> |