@revxui/api-clients-ts
Version:
swagger client for @revxui/api-clients-ts
33 lines (32 loc) • 1.88 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { ApiResponseObjectboolean } from '../model/apiResponseObjectboolean';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class UILoggerControllerService {
protected httpClient: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Logging msg in Server
*
* @param logMsg logMsg
* @param logLevel logLevel
* @param reqId request id
* @param token Auth Token
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
logUsingPOST(logMsg: string, logLevel?: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectboolean>;
logUsingPOST(logMsg: string, logLevel?: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectboolean>>;
logUsingPOST(logMsg: string, logLevel?: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectboolean>>;
static ɵfac: i0.ɵɵFactoryDeclaration<UILoggerControllerService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<UILoggerControllerService>;
}