package com.ecep.contract.constant;

public class WebSocketConstant {
    public static final String MESSAGE_ID_FIELD_NAME = "messageId";
    public static final String MESSAGE_TYPE_FIELD_NAME = "messageType";
    public static final String SUCCESS_FIELD_NAME = "success";
    public static final String MESSAGE_FIELD_NAME = "message";
    public static final String ERROR_CODE_FIELD_NAME = "errorCode";

    public static final String SERVICE_FIELD_NAME = "service";
    public static final String METHOD_FIELD_NAME = "method";
    public static final String ARGUMENTS_FIELD_NAME = "arguments";


    public static final String SESSION_ID_FIELD_NAME = "sessionId";


    public static final int ERROR_CODE_UNAUTHORIZED = 401;
    public static final int ERROR_CODE_NOT_FOUND = 404;
    public static final int ERROR_CODE_INTERNAL_SERVER_ERROR = 500;
}
