1 /// Copyright 2016 by Samsung Electronics, Inc.,
3 /// This software is the confidential and proprietary information
4 /// of Samsung Electronics, Inc. ("Confidential Information"). You
5 /// shall not disclose such Confidential Information and shall use
6 /// it only in accordance with the terms of the license agreement
7 /// you entered into with Samsung.
11 namespace Tizen.Network.IoTConnectivity
14 /// Class respresenting request to a resource.
16 public class Request : IDisposable
18 private bool _disposed = false;
30 /// The host address of the request
32 public string HostAddress { get; internal set; }
35 /// The representation of the request
37 public Representation Representation { get; internal set; }
40 /// The query of the request
42 public ResourceQuery Query { get; internal set; }
45 /// The options related to the request
47 public ResourceOptions Options { get; internal set; }
52 GC.SuppressFinalize(this);
55 protected virtual void Dispose(bool disposing)
62 Representation?.Dispose();