ravendb
Version:
RavenDB client for Node.js
28 lines • 786 B
JavaScript
import { RavenCommand } from "../../../Http/RavenCommand.js";
export class GetLogsConfigurationOperation {
get resultType() {
return "CommandResult";
}
getCommand(conventions) {
return new GetLogsConfigurationCommand();
}
}
class GetLogsConfigurationCommand extends RavenCommand {
get isReadRequest() {
return false;
}
createRequest(node) {
const uri = node.url + "/admin/logs/configuration";
return {
uri,
method: "GET"
};
}
async setResponseAsync(bodyStream, fromCache) {
if (!bodyStream) {
this._throwInvalidResponse();
}
return this._parseResponseDefaultAsync(bodyStream);
}
}
//# sourceMappingURL=GetLogsConfigurationOperation.js.map