celp-sdk 0.1.13

This package has been created to provide a rust SDK containing common functionality
syntax = "proto3";
package celp.protobuf.svc;
import "celp_header.proto";
option optimize_for = SPEED;

message RestfulRequest {
    enum RequestType {
        GET = 0x0;
        POST = 0x1;
        PUT = 0x2;
    }

    enum AuthType {
        // Raw HTTP
        NO_AUTH = 0x0;
        // S3 authentication
        S3_AUTH = 0x1;
    }

    // Base header from CELP
    celp.protobuf.Header header = 1;

    // Type of request to be made
    RequestType request_type = 2;

    // Authentication type
    AuthType auth_type = 3;

    // Absolute path to upload/download file
    string local_file_path = 4;

    // Location to upload/download file
    string url = 5;
}