 
 
 public protocol Request {
-
-     var requestId: String { get }
-     var method: String? { get }
-     var url: URL { get }
-     var dataBody: Data? { get }
-     var headers: [String:String]? { get }
-     var timeout: Double { get }
-     var conifiguration: RequestConfiguration? { get }
-     var completion: completionClosures? { get }
+    
+    var requestId: String { get }
+    var method: String? { get }
+    var url: URL { get }
+    var dataBody: Data? { get }
+    var headers: [String:String]? { get }
+    var timeout: Double { get }
+    var conifiguration: RequestConfiguration? { get }
+    var completion: completionClosures? { get }
 }
 
 



public class RequestBuilder {

   public lazy var requestId: String =  {
        return UUID().uuidString
    }()
    

    
    public func build() -> Request {
        
        
        var bodyData: Data? = nil
        if let body = self.jsonBody {
            do {
                bodyData = try body.rawData()
            }catch{
                
            }
        }
        return RequestElement(requestId: self.requestId, method:self.method , url: self.url, dataBody: bodyData, headers: self.headers, timeout: self.timeout, conifiguration: self.conifiguration, completion: self.completion)
        
        
    }
}







