hello() public method

The hello servlet is part of the loklak peer-to-peer bootstrap process and shall be used to announce that a new client has been started up. The hello request is done automatically after a loklak startup against the loklak backend as configured in the settings in field backend. The back-end server then does not return any data, just an 'ok' string object.
public hello ( ) : Task
return Task
示例#1
0
 public async Task hello()
 {
     Loklak loklak = new Loklak();
     var result = await loklak.hello();
     var d = JObject.Parse(result);
     Assert.IsNotNull(d.Property("status"));
 }