Follow these steps before trying to run any code.
- First, generate a Certificate Authority (CA).
openssl genrsa -out rootCA.key 2048
- Second, self-sign it.
import { HttpClientModule } from '@angular/common/http'; | |
import { NgModule } from '@angular/core'; | |
import { CommonHttpClient } from './http-client.service'; | |
@NgModule({ | |
imports: [ | |
HttpClientModule | |
], | |
providers: [ |
grammar AbstractClass; | |
prog : abstractclass; | |
abstractclass : visibility abstr clas CLASSNAME OPEN_BRACKET statement+ CLOSE_BRACKET; | |
visibility : ('public'|'protected'|'internal'|'private'); | |
abstr : 'abstract'; | |
clas : 'class'; |