`InternetConnectionService` is a service which is exposed by `@abp/ng.core` package. **If you want to detect whether you are connected to the internet or not, you can use this service.**
`InternetConnectionService` is a service which is exposed by the `@abp/ng.core` package. **You can use this service in order to check your internet connection**
## Getting Started
## Getting Started
When you inject InternetConnectionService you can get the current internet status also if status changes you can catch them immediately.
When you inject the InternetConnectionService you can get the current internet status, and it gets immediately updated if the status changes.
`InternetConnectionService`is providing 2 alternatives for catching network status;
`InternetConnectionService`provides two choices to catch the network status:
1. Signal (readonly)
1. Signal (readonly)
2. Observable
2. Observable
# How To Use
# How To Use
İt's easy just inject the service and get network status.
İt's easy, just inject the service and get the network status.