You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow removal of prefix when proxying to another server (#630) (#924)
* #630 Allow removal of prefix when proxying to another server
* #630 Rename replace to replace settings and ensure properties used in place of fields
* #630 Update replace settings type name to ProxyUrlReplaceSettings
* #630 Add admin model and update settings parser to parse new values
* Fix formatting issues
* #630 Ensure json mapping between admin model and internal model takes place
* #630 Refactor parsing and structure of extracting new proxy url
* Reduce function complexity
* #630 Fix line length issues and remove try prefix from parser methods
/// Proxy requests should follow redirection (30x).
19
-
/// </summary>
20
-
publicbool?AllowAutoRedirect{get;set;}
21
-
22
-
/// <summary>
23
-
/// The URL to proxy.
24
-
/// </summary>
25
-
publicstringUrl{get;set;}
26
-
27
-
/// <summary>
28
-
/// Save the mapping for each request/response to the internal Mappings.
29
-
/// </summary>
30
-
publicboolSaveMapping{get;set;}
31
-
32
-
/// <summary>
33
-
/// Save the mapping for each request/response also to a file. (Note that SaveMapping must also be set to true.)
34
-
/// </summary>
35
-
publicboolSaveMappingToFile{get;set;}
36
-
37
-
/// <summary>
38
-
/// Only save request/response to the internal Mappings if the status code is included in this pattern. (Note that SaveMapping must also be set to true.)
39
-
/// The pattern can contain a single value like "200", but also ranges like "2xx", "100,300,600" or "100-299,6xx" are supported.
/// Proxy requests should follow redirection (30x).
19
+
/// </summary>
20
+
publicbool?AllowAutoRedirect{get;set;}
21
+
22
+
/// <summary>
23
+
/// The URL to proxy.
24
+
/// </summary>
25
+
publicstringUrl{get;set;}
26
+
27
+
/// <summary>
28
+
/// Save the mapping for each request/response to the internal Mappings.
29
+
/// </summary>
30
+
publicboolSaveMapping{get;set;}
31
+
32
+
/// <summary>
33
+
/// Save the mapping for each request/response also to a file. (Note that SaveMapping must also be set to true.)
34
+
/// </summary>
35
+
publicboolSaveMappingToFile{get;set;}
36
+
37
+
/// <summary>
38
+
/// Only save request/response to the internal Mappings if the status code is included in this pattern. (Note that SaveMapping must also be set to true.)
39
+
/// The pattern can contain a single value like "200", but also ranges like "2xx", "100,300,600" or "100-299,6xx" are supported.
/// Save the mapping for each request/response to the internal Mappings.
18
-
/// </summary>
19
-
[PublicAPI]
20
-
publicboolSaveMapping{get;set;}
21
-
22
-
/// <summary>
23
-
/// Save the mapping for each request/response also to a file. (Note that SaveMapping must also be set to true.)
24
-
/// </summary>
25
-
[PublicAPI]
26
-
publicboolSaveMappingToFile{get;set;}
27
-
28
-
/// <summary>
29
-
/// Only save request/response to the internal Mappings if the status code is included in this pattern. (Note that SaveMapping must also be set to true.)
30
-
/// The pattern can contain a single value like "200", but also ranges like "2xx", "100,300,600" or "100-299,6xx" are supported.
/// Save the mapping for each request/response to the internal Mappings.
18
+
/// </summary>
19
+
[PublicAPI]
20
+
publicboolSaveMapping{get;set;}
21
+
22
+
/// <summary>
23
+
/// Save the mapping for each request/response also to a file. (Note that SaveMapping must also be set to true.)
24
+
/// </summary>
25
+
[PublicAPI]
26
+
publicboolSaveMappingToFile{get;set;}
27
+
28
+
/// <summary>
29
+
/// Only save request/response to the internal Mappings if the status code is included in this pattern. (Note that SaveMapping must also be set to true.)
30
+
/// The pattern can contain a single value like "200", but also ranges like "2xx", "100,300,600" or "100-299,6xx" are supported.
0 commit comments