Files
ontime/apps/server/src/api-data/automation/clients/http.client.ts
T
2025-01-24 13:53:17 +01:00

19 lines
371 B
TypeScript

/**
* Expose possibility to send a message using HTTP protocol
*/
export function emitHTTP() {
console.log('HTTP emit not implemented');
const payload = preparePayload();
emit(payload);
}
/** Parses the state and prepares payload to be emitted */
function preparePayload() {
return;
}
/** Emits message over transport */
function emit(_payload) {
return;
}