Skip to main content

isReachable method

[Future[<[bool]>]]

This function checks if a given URI is reachable within a specified timeout period.

Specifically designed to

params:

  • client: An instance of http.Client to make the HTTP request.
  • uriString: An optional String specifying the URI to check. Defaults to 'org link' if not provided.

returns:

  • Future<bool>: indicates if the url is reachable.

Implementation

Future<bool>  async 
  1. talawa
  2. connectivity_service
  3. ConnectivityService
  4. isReachable method
ConnectivityService class