@@ -496,6 +496,36 @@ An operation to update the response status code.
496496
497497***
498498
499+ ### MatchReplaceOperationWebsocket
500+
501+ > ** MatchReplaceOperationWebsocket** = [ ` KeepOperation ` ] ( other.md#keepoperation ) \< [ ` MatchReplaceOperationWebsocketRaw ` ] ( #matchreplaceoperationwebsocketraw ) \>
502+
503+ An operation for the response websocket section.
504+
505+ ***
506+
507+ ### MatchReplaceOperationWebsocketRaw
508+
509+ > ** MatchReplaceOperationWebsocketRaw** = ` object `
510+
511+ A raw operation for the response websocket section.
512+
513+ #### Properties
514+
515+ ##### kind
516+
517+ > ** kind** : ` "OperationWebsocketRaw" `
518+
519+ ##### matcher
520+
521+ > ** matcher** : [ ` MatchReplaceMatcherRaw ` ] ( #matchreplacematcherraw )
522+
523+ ##### replacer
524+
525+ > ** replacer** : [ ` MatchReplaceReplacer ` ] ( #matchreplacereplacer )
526+
527+ ***
528+
499529### MatchReplacePageContext
500530
501531> ** MatchReplacePageContext** = ` object `
@@ -712,10 +742,10 @@ Create a rule.
712742
713743| Parameter | Type | Description |
714744| ------ | ------ | ------ |
715- | ` options ` | \{ ` collectionId ` : [ ` ID ` ] ( utils.md#id ) ; ` name ` : ` string ` ; ` query ` : [ ` HTTPQL ` ] ( utils.md#httpql ) ; ` section ` : [ ` MatchReplaceSection ` ] ( #matchreplacesection ) ; ` sources ` : [ ` Source ` ] ( #source ) [ ] ; \} | The options for the rule. |
745+ | ` options ` | \{ ` collectionId ` : [ ` ID ` ] ( utils.md#id ) ; ` name ` : ` string ` ; ` query ` : [ ` QueryInput ` ] ( utils.md#queryinput ) ; ` section ` : [ ` MatchReplaceSection ` ] ( #matchreplacesection ) ; ` sources ` : [ ` Source ` ] ( #source ) [ ] ; \} | The options for the rule. |
716746| ` options.collectionId ` | [ ` ID ` ] ( utils.md#id ) | The ID of the collection the rule belongs to. |
717747| ` options.name ` | ` string ` | The name of the rule. |
718- | ` options.query ` | [ ` HTTPQL ` ] ( utils.md#httpql ) | The HTTPQL query to match the rule against. |
748+ | ` options.query ` | [ ` QueryInput ` ] ( utils.md#queryinput ) | The query to match the rule against. |
719749| ` options.section ` | [ ` MatchReplaceSection ` ] ( #matchreplacesection ) | - |
720750| ` options.sources ` | [ ` Source ` ] ( #source ) [ ] | The sources the rule belongs to. |
721751
@@ -893,9 +923,9 @@ Update a rule.
893923| Parameter | Type | Description |
894924| ------ | ------ | ------ |
895925| ` id ` | [ ` ID ` ] ( utils.md#id ) | The ID of the rule. |
896- | ` options ` | \{ ` name ` : ` string ` ; ` query? ` : [ ` HTTPQL ` ] ( utils.md#httpql ) ; ` section ` : [ ` MatchReplaceSection ` ] ( #matchreplacesection ) ; ` sources ` : [ ` Source ` ] ( #source ) [ ] ; \} | The new values for the rule. |
926+ | ` options ` | \{ ` name ` : ` string ` ; ` query? ` : [ ` QueryInput ` ] ( utils.md#queryinput ) ; ` section ` : [ ` MatchReplaceSection ` ] ( #matchreplacesection ) ; ` sources ` : [ ` Source ` ] ( #source ) [ ] ; \} | The new values for the rule. |
897927| ` options.name ` | ` string ` | The new name of the rule. |
898- | ` options.query? ` | [ ` HTTPQL ` ] ( utils.md#httpql ) | The new HTTPQL query of the rule. |
928+ | ` options.query? ` | [ ` QueryInput ` ] ( utils.md#queryinput ) | The new query of the rule. |
899929| ` options.section ` | [ ` MatchReplaceSection ` ] ( #matchreplacesection ) | The new section of the rule. |
900930| ` options.sources ` | [ ` Source ` ] ( #source ) [ ] | The new sources of the rule. |
901931
@@ -907,7 +937,7 @@ Update a rule.
907937
908938### MatchReplaceSection
909939
910- > ** MatchReplaceSection** = [ ` MatchReplaceSectionRequestAll ` ] ( #matchreplacesectionrequestall ) \| [ ` MatchReplaceSectionRequestBody ` ] ( #matchreplacesectionrequestbody ) \| [ ` MatchReplaceSectionRequestFirstLine ` ] ( #matchreplacesectionrequestfirstline ) \| [ ` MatchReplaceSectionRequestHeader ` ] ( #matchreplacesectionrequestheader ) \| [ ` MatchReplaceSectionRequestMethod ` ] ( #matchreplacesectionrequestmethod ) \| [ ` MatchReplaceSectionRequestPath ` ] ( #matchreplacesectionrequestpath ) \| [ ` MatchReplaceSectionRequestQuery ` ] ( #matchreplacesectionrequestquery ) \| [ ` MatchReplaceSectionRequestSNI ` ] ( #matchreplacesectionrequestsni ) \| [ ` MatchReplaceSectionResponseAll ` ] ( #matchreplacesectionresponseall ) \| [ ` MatchReplaceSectionResponseBody ` ] ( #matchreplacesectionresponsebody ) \| [ ` MatchReplaceSectionResponseFirstLine ` ] ( #matchreplacesectionresponsefirstline ) \| [ ` MatchReplaceSectionResponseHeader ` ] ( #matchreplacesectionresponseheader ) \| [ ` MatchReplaceSectionResponseStatusCode ` ] ( #matchreplacesectionresponsestatuscode )
940+ > **MatchReplaceSection** = [`MatchReplaceSectionRequestAll`](#matchreplacesectionrequestall) \| [`MatchReplaceSectionRequestBody`](#matchreplacesectionrequestbody) \| [`MatchReplaceSectionRequestFirstLine`](#matchreplacesectionrequestfirstline) \| [`MatchReplaceSectionRequestHeader`](#matchreplacesectionrequestheader) \| [`MatchReplaceSectionRequestMethod`](#matchreplacesectionrequestmethod) \| [`MatchReplaceSectionRequestPath`](#matchreplacesectionrequestpath) \| [`MatchReplaceSectionRequestQuery`](#matchreplacesectionrequestquery) \| [`MatchReplaceSectionRequestSNI`](#matchreplacesectionrequestsni) \| [`MatchReplaceSectionResponseAll`](#matchreplacesectionresponseall) \| [`MatchReplaceSectionResponseBody`](#matchreplacesectionresponsebody) \| [`MatchReplaceSectionResponseFirstLine`](#matchreplacesectionresponsefirstline) \| [`MatchReplaceSectionResponseHeader`](#matchreplacesectionresponseheader) \| [`MatchReplaceSectionResponseStatusCode`](#matchreplacesectionresponsestatuscode) \| [`MatchReplaceSectionResponseWebsocket`](#matchreplacesectionresponsewebsocket) \| [`MatchReplaceSectionRequestWebsocket`](#matchreplacesectionrequestwebsocket)
911941
912942A discriminated union of all possible match and replace sections.
913943
@@ -1057,6 +1087,24 @@ A section for the request SNI.
10571087
10581088***
10591089
1090+ ### MatchReplaceSectionRequestWebsocket
1091+
1092+ > ** MatchReplaceSectionRequestWebsocket** = ` object `
1093+
1094+ A section for the request websocket.
1095+
1096+ #### Properties
1097+
1098+ ##### kind
1099+
1100+ > ** kind** : ` "SectionRequestWebsocket" `
1101+
1102+ ##### operation
1103+
1104+ > ** operation** : [ ` MatchReplaceOperationWebsocket ` ] ( #matchreplaceoperationwebsocket )
1105+
1106+ ***
1107+
10601108### MatchReplaceSectionResponseAll
10611109
10621110> ** MatchReplaceSectionResponseAll** = ` object `
@@ -1147,6 +1195,24 @@ A section for the response status code.
11471195
11481196***
11491197
1198+ ### MatchReplaceSectionResponseWebsocket
1199+
1200+ > ** MatchReplaceSectionResponseWebsocket** = ` object `
1201+
1202+ A section for the response websocket.
1203+
1204+ #### Properties
1205+
1206+ ##### kind
1207+
1208+ > ** kind** : ` "SectionResponseWebsocket" `
1209+
1210+ ##### operation
1211+
1212+ > ** operation** : [ ` MatchReplaceOperationWebsocket ` ] ( #matchreplaceoperationwebsocket )
1213+
1214+ ***
1215+
11501216### MatchReplaceSlotContent
11511217
11521218> ** MatchReplaceSlotContent** = ` object `
0 commit comments