Граф коммитов

84 Коммитов

Автор SHA1 Сообщение Дата
Dan Schulte 8f76f0e8c4 Add HTTP request cloning to rpRegistrationPolicy 2018-05-22 15:31:06 -07:00
Dan Schulte 5fd6b70d34 Remove redundant assignment 2018-05-22 15:03:52 -07:00
Dan Schulte a8fe5116b0 Clone HTTP requests before sending them through retry policies 2018-05-22 14:52:49 -07:00
Dan Schulte 1377b0816f Merge branch 'master' into daschult/customheaders 2018-05-22 10:55:41 -07:00
Dan Schulte 16ff151e35 Add OperationArguments and evaluate header parameters 2018-05-22 10:53:55 -07:00
Rikki Gibson 254788a4fc Explain maxContentLength and fix test 2018-05-21 15:51:09 -07:00
Rikki Gibson ff5bf45512 Depend directly on AbortController because it's a standard 2018-05-21 15:51:09 -07:00
Rikki Gibson d2b783a5f5 Note why undefined bodies are converted to null 2018-05-21 15:51:09 -07:00
Rikki Gibson e0784865ec Fix build error and refine cancel test 2018-05-21 15:51:09 -07:00
Rikki Gibson 18d5680097 Add cancellationToken to RequestOptionsBase 2018-05-21 15:51:09 -07:00
Rikki Gibson 31e5d70266 Add cancellation and axiosHttpClientTests 2018-05-21 15:51:09 -07:00
Rikki Gibson ad10be3024 Fix build errors from fetchHttpClient and reference published isomorphic-tough-cookie 2018-05-21 15:51:09 -07:00
Rikki Gibson e2f3d2828f fetchHttpClient -> axiosHttpClient 2018-05-21 15:51:09 -07:00
Rikki Gibson 7a7d8fc0e4 Use isomorphic-tough-cookie. Allow Content-Type header with missing body. 2018-05-21 15:51:09 -07:00
Rikki Gibson 11896a2ce9 Use axios instead of fetch 2018-05-21 15:51:09 -07:00
Dan Schulte e7fba2a442 Fixed all tests, push serializationPolicy to the end of the default pipeline 2018-05-18 15:19:49 -07:00
Dan Schulte b7e2197bbc Working on adding serializationPolicy 2018-05-18 11:28:33 -07:00
Dan Schulte 59d03f8db4 Merge branch 'master' into daschult/serialization 2018-05-17 14:07:31 -07:00
Rikki Gibson d896ed7494 Export HttpHeaders and RequestPolicyCreator 2018-05-16 16:35:34 -07:00
Dan Schulte f780228506 Add SerializationPolicy 2018-05-16 14:47:17 -07:00
Rikki Gibson 64b95edfbb Fix browser FormData test 2018-05-15 13:43:52 -07:00
Rikki Gibson 454ab53fc7 .blob() must remain bound to the containing object 2018-05-15 13:43:52 -07:00
Rikki Gibson ea57c422c0 Don't expose fetch types in HttpOperationResponse 2018-05-15 13:43:52 -07:00
Dan Schulte 9044297181 Add sendOperationRequest() and remove OperationSpec from sendRequest() 2018-05-15 12:16:02 -07:00
Dan Schulte 3fd5f366ce Remove Azure from comment 2018-05-15 10:37:02 -07:00
Dan Schulte 5dcd202676 Add comment to ServiceClient.sendRequest() 2018-05-15 10:02:47 -07:00
Dan Schulte ffe9d7f5f9 Add OperationSpec with HttpMethod property 2018-05-15 10:00:43 -07:00
Dan Schulte 11fb4045cd Make substitution happen across entire URLBuilder, not just individual components 2018-05-14 13:31:05 -07:00
Dan Schulte eb4f9a84b1 URLQuery now supports empty parameter values 2018-05-14 09:20:39 -07:00
Dan Schulte cf7b25464a Add the ability to read, modify, and substitute URL queries 2018-05-11 15:35:15 -07:00
Dan Schulte 7f4422dd17 Make URL enums constant 2018-05-11 12:38:05 -07:00
Dan Schulte 028ed577d6 Add and URLBuilder and tests 2018-05-11 11:59:23 -07:00
Dan Schulte a839efebec Remove ServiceClient.pipeline() in favor of ServiceClient.sendRequest() 2018-05-07 14:20:10 -07:00
Dan Schulte 666bdb5b7b Change RequestPolicies remaining before() and after() method names 2018-05-04 15:43:48 -07:00
Dan Schulte 7d36607f46 Updates based on pull request feedback 2018-05-04 15:30:58 -07:00
Dan Schulte a1f16cb580 Add HttpPipelineLogger and RequestPolicyOptions 2018-05-04 15:03:37 -07:00
Dan Schulte c0022b7f2e Create a new RequestPolicy chain for each request 2018-05-04 14:45:09 -07:00
Dan Schulte 02cb31a97c Move utils.dispatchRequest() to FetchHttpClient 2018-05-04 14:30:50 -07:00
Dan Schulte 7996f52edd If customers provide a requestPolicyCreators array, then don't add any additional/default RequestPolicyCreators 2018-05-04 14:04:45 -07:00
Dan Schulte 714ec2aa9b Introduce HttpClient interface and FetchHttpClient class 2018-05-04 13:57:23 -07:00
Dan Schulte f46645da42 Move createRequestPipeline() into serviceClient constructor 2018-05-04 13:46:15 -07:00
Dan Schulte b2918efac7 Make BaseRequestPolicy.nextPolicy a readonly constructor property 2018-05-04 13:40:42 -07:00
Dan Schulte 2796034ee4 Rename Filters to be Policies 2018-05-04 13:30:48 -07:00
Dan Schulte 6c13b8d556 Change ServiceClientOptions.baseRequestPolicies to requestPolicyCreators 2018-05-04 13:13:18 -07:00
Dan Schulte f2b12b25da Merge branch 'master' into daschult/httpPipeline2 2018-05-04 09:38:47 -07:00
Dan Schulte ded299d6ca Working on request policies 2018-05-04 09:30:47 -07:00
Rikki Gibson f3c842e0c9 Add jsdoc for isDuration 2018-05-03 14:44:30 -07:00
Rikki Gibson 7bd6af8ffb Add isDuration(string) function. Remove traces of moment. 2018-05-03 14:29:31 -07:00
Rikki Gibson 91a6ec1921 Replace momentjs with simple duration format test. Tweak webpack config. 2018-05-03 10:27:02 -07:00
Rikki Gibson 56ae809513 Bump to v0.3.2. Use isomorphic-xml2js. 2018-05-02 16:43:04 -07:00