/*
 * This file is part of ComputerCraft - http://www.computercraft.info
 * Copyright Daniel Ratcliffe, 2011-2021. Do not distribute without permission.
 * Send enquiries to dratcliffe@gmail.com
 */
package dan200.computercraft.core.apis.http.options;

import javax.annotation.Nonnull;

/**
 * Options about a specific domain.
 */
public final class Options
{
    @Nonnull
    public final Action action;
    public final long maxUpload;
    public final long maxDownload;
    public final int timeout;
    public final int websocketMessage;

    Options( @Nonnull Action action, long maxUpload, long maxDownload, int timeout, int websocketMessage )
    {
        this.action = action;
        this.maxUpload = maxUpload;
        this.maxDownload = maxDownload;
        this.timeout = timeout;
        this.websocketMessage = websocketMessage;
    }
}
