public ImageAsset(Server server, Client client) { this.server = server; this.client = client; }
public GoBucketRestClient(Server server, string secretKey, string appKey) { this.Signer = new Signing(secretKey, appKey); this.Server = server; this.SecretKey = secretKey; this.AppKey = appKey; }
public Client(Server server, string id, string clientCode, string secretKey, string appKey) : base(server, secretKey, appKey) { this.ID = id; this.ClientCode = clientCode; }
/// <summary> /// Builds a full URL by combining the server URL from your configurations and a provided /// endpoint /// </summary> /// <param name="configuration">Configuration data</param> /// <param name="endpoint">Endpoint. Such as /asset</param> public static string BuildURL(Server server, string endpoint) { return String.Format("{0}{1}", server.ServerAddress, endpoint); }