The implementation internally has factory methods to create URLRequest objects. These should be exposed as public methods to offer them as a convenience feature for use cases in which the downstream project needs to create additional URLRequest objects for requests not in scope of the library. This enables not just the reuse of the (injected) URLSession but also sets up the minimum base configuration of the request objects, depending on their type while also avoiding duplicate state management (in the downstream project and within the library).
Expected New Public Methods
makeOCSRequest(for:method:)
makeWebDAVRequest(for:method:)
The implementation internally has factory methods to create
URLRequestobjects. These should be exposed as public methods to offer them as a convenience feature for use cases in which the downstream project needs to create additionalURLRequestobjects for requests not in scope of the library. This enables not just the reuse of the (injected)URLSessionbut also sets up the minimum base configuration of the request objects, depending on their type while also avoiding duplicate state management (in the downstream project and within the library).Expected New Public Methods
makeOCSRequest(for:method:)makeWebDAVRequest(for:method:)