PingRequests

Return the server startup timestamp as the response

Public Methods

Check

public bool Check(Uri requestPath)

Parameters:

  • requestPath (Uri)

Returns: bool

Handle

public async Task<string> Handle(IHttpListenerResponse response, Uri requestPath, DateTime serverStartTime)

Parameters:

  • response (IHttpListenerResponse)
  • requestPath (Uri)
  • serverStartTime (DateTime)

Returns: Task<string>