source: src/mapservice-webclient/src-gen/gnuboat-mapservice/encoder.ts@ a921af9

debian/bullseye
Last change on this file since a921af9 was d660d75, checked in by Joachim Langenbach <joachim.langenbach@…>, 6 years ago

Added all generated code to the soruce tree, to avoid generation during package build time

  • Property mode set to 100644
File size: 556 bytes
RevLine 
[d660d75]1import { HttpParameterCodec } from '@angular/common/http';
2
3/**
4 * Custom HttpParameterCodec
5 * Workaround for https://github.com/angular/angular/issues/18261
6 */
7export class CustomHttpParameterCodec implements HttpParameterCodec {
8 encodeKey(k: string): string {
9 return encodeURIComponent(k);
10 }
11 encodeValue(v: string): string {
12 return encodeURIComponent(v);
13 }
14 decodeKey(k: string): string {
15 return decodeURIComponent(k);
16 }
17 decodeValue(v: string): string {
18 return decodeURIComponent(v);
19 }
20}
21
Note: See TracBrowser for help on using the repository browser.