-
Blacklambs - Independent Contractor // Freelancer
- Portugal & France
- https://www.blacklambs.net
Pinned Loading
-
-
stoXscraper
stoXscraper PublicWeb API that scrapes the internet for information related to financial assets.
TypeScript 1
-
This interceptor intercepts HTTP req...
This interceptor intercepts HTTP requests and responses, handles any errors that occur during the process, extracts error messages, and throws them as new errors. It's a generic error handling mechanism that can be extended with custom logic if needed. 1import { HttpErrorResponse, HttpInterceptorFn } from '@angular/common/http';
2import { catchError, throwError } from 'rxjs';
34/**
5* Interceptor to handle HTTP errors and display notifications.
-
Service that provides a clean and re...
Service that provides a clean and reusable way to interact with local storage in your Angular application. It ensures type safety for retrieved values and handles potential invalid JSON data. 1import { Injectable, inject } from '@angular/core';
2import { WINDOW } from '@shared/providers';
34@Injectable({
5providedIn: 'root'
-
Angular Authentication Interceptor
Angular Authentication Interceptor 1import { HttpInterceptorFn } from '@angular/common/http';
23/**
4* Adds an authorization header to requests if a token is present in localStorage.
5*
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.