Skip to content

Instantly share code, notes, and snippets.

@eai04191
Created December 5, 2023 16:07
Show Gist options
  • Save eai04191/740341796a2ac1b1084392a2a78a1740 to your computer and use it in GitHub Desktop.
Save eai04191/740341796a2ac1b1084392a2a78a1740 to your computer and use it in GitHub Desktop.
<?xml version='1.0' encoding='UTF-8' ?>
<?charles serialisation-version='2.0' ?>
<rewriteSet-array>
<rewriteSet>
<active>true</active>
<name>resonite-signalr-disable-ws</name>
<hosts>
<locationPatterns>
<locationMatch>
<location>
<protocol>https</protocol>
<host>api.resonite.com</host>
<port>443</port>
<path>/hub/negotiate</path>
<query>negotiateVersion=1</query>
</location>
<enabled>true</enabled>
</locationMatch>
</locationPatterns>
</hosts>
<rules>
<rewriteRule>
<active>true</active>
<ruleType>7</ruleType>
<matchValue>{&quot;transport&quot;:&quot;WebSockets&quot;,&quot;transferFormats&quot;:[&quot;Text&quot;,&quot;Binary&quot;]},</matchValue>
<matchHeaderRegex>false</matchHeaderRegex>
<matchValueRegex>false</matchValueRegex>
<matchRequest>false</matchRequest>
<matchResponse>true</matchResponse>
<newValue></newValue>
<newHeaderRegex>false</newHeaderRegex>
<newValueRegex>false</newValueRegex>
<matchWholeValue>false</matchWholeValue>
<caseSensitive>false</caseSensitive>
<replaceType>1</replaceType>
</rewriteRule>
</rules>
</rewriteSet>
</rewriteSet-array>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment