Ejemplo n.º 1
0
		public ImageAsset(Server server, Client client) {
			this.server = server;
			this.client = client;
		}
Ejemplo n.º 2
0
		public GoBucketRestClient(Server server, string secretKey, string appKey) {
			this.Signer = new Signing(secretKey, appKey);
			this.Server = server;
			this.SecretKey = secretKey;
			this.AppKey = appKey;
		}
Ejemplo n.º 3
0
		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);
		}