> ## Documentation Index
> Fetch the complete documentation index at: https://generaltranslation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# StreamClient

<div id="constructors">
  ## कंस्ट्रक्टर्स
</div>

<div id="constructor">
  ### constructor
</div>

• **new StreamClient**(`client`): [`StreamClient`](/hi/xdks/typescript/reference/classes/StreamClient)

<div id="parameters">
  #### पैरामीटर
</div>

| नाम      | type                                                     |
| :------- | :------------------------------------------------------- |
| `client` | [`Client`](/hi/xdks/typescript/reference/classes/Client) |

<div id="returns">
  #### रिटर्न
</div>

[`StreamClient`](/hi/xdks/typescript/reference/classes/StreamClient)

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[stream/stream\_client.ts:972](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L972)

<div id="methods">
  ## मेथड्स
</div>

<div id="likescompliance">
  ### likesCompliance
</div>

▸ **likesCompliance**(`options?`): `Promise`\<`EventDrivenStream`>

Likes अनुपालन डेटा की स्ट्रीम करता है
Users के लिए Likes से संबंधित सभी अनुपालन डेटा को स्ट्रीम करता है।

इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका उपयोग करना आसान है।
'data', 'error', 'close' जैसे इवेंट सुनने के लिए .on() का उपयोग करें।
for await...of के साथ async iteration का भी समर्थन करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                              |
| :-------- | :-------------------------------- |
| `options` | `LikesComplianceStreamingOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[stream/stream\_client.ts:1016](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L1016)

***

<div id="userscompliance">
  ### usersCompliance
</div>

▸ **usersCompliance**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

Users अनुपालन डेटा को स्ट्रीम करें
Users से संबंधित सभी अनुपालन डेटा को स्ट्रीम करता है।

एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका इस्तेमाल करना आसान है।
'data', 'error', 'close' जैसे events को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration का भी समर्थन करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                              | विवरण          |
| :---------- | :-------------------------------- | :------------- |
| `partition` | `number`                          | पार्टिशन नंबर। |
| `options`   | `UsersComplianceStreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

#### यहाँ परिभाषित

[stream/stream\_client.ts:1196](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L1196)

***

<div id="postsfirehoseko">
  ### postsFirehoseKo
</div>

▸ **postsFirehoseKo**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

कोरियाई पोस्ट्स स्ट्रीम करें
सभी सार्वजनिक कोरियाई-भाषी पोस्ट्स को रीयल-टाइम में स्ट्रीम करता है।

उपयोग में आसान, इवेंट-ड्रिवन स्ट्रीम लौटाता है।
'data', 'error', 'close' जैसे इवेंट्स को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration का भी समर्थन करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                              | विवरण          |
| :---------- | :-------------------------------- | :------------- |
| `partition` | `number`                          | पार्टिशन नंबर। |
| `options`   | `PostsFirehoseKoStreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

#### यहाँ परिभाषित

[stream/stream\_client.ts:1392](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L1392)

***

<div id="likessample10">
  ### likesSample10
</div>

▸ **likesSample10**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

सैंपल किए गए Likes को स्ट्रीम करें
सार्वजनिक Likes के 10% सैंपल को रीयल-टाइम में स्ट्रीम करता है।

एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका इस्तेमाल करना आसान है।
'data', 'error', 'close' जैसे events को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration को भी सपोर्ट करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                            | विवरण          |
| :---------- | :------------------------------ | :------------- |
| `partition` | `number`                        | पार्टिशन नंबर। |
| `options`   | `LikesSample10StreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

#### यहाँ परिभाषित

[stream/stream\_client.ts:1706](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L1706)

***

<div id="likesfirehose">
  ### likesFirehose
</div>

▸ **likesFirehose**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

सभी Likes को स्ट्रीम करें
सभी सार्वजनिक Likes को रीयल-टाइम में स्ट्रीम करता है।

एक ऐसा इवेंट-ड्रिवन स्ट्रीम लौटाता है जिसका इस्तेमाल करना आसान है।
'data', 'error', 'close' जैसे events को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration का भी समर्थन करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                            | विवरण          |
| :---------- | :------------------------------ | :------------- |
| `partition` | `number`                        | पार्टिशन नंबर। |
| `options`   | `LikesFirehoseStreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[stream/stream\_client.ts:1983](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L1983)

***

<div id="postsfirehoseja">
  ### postsFirehoseJa
</div>

▸ **postsFirehoseJa**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

जापानी पोस्ट्स को स्ट्रीम करें
सभी सार्वजनिक जापानी-भाषी पोस्ट्स को रीयल-टाइम में स्ट्रीम करता है।

एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका इस्तेमाल करना आसान है।
'data', 'error', 'close' जैसे इवेंट्स को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration का भी समर्थन करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                              | विवरण          |
| :---------- | :-------------------------------- | :------------- |
| `partition` | `number`                          | पार्टिशन नंबर। |
| `options`   | `PostsFirehoseJaStreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए एक इवेंट-ड्रिवन स्ट्रीम

#### यहाँ परिभाषित

[stream/stream\_client.ts:2257](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L2257)

***

<div id="postsfirehoseen">
  ### postsFirehoseEn
</div>

▸ **postsFirehoseEn**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

अंग्रेज़ी पोस्ट्स को स्ट्रीम करें
सभी सार्वजनिक अंग्रेज़ी-भाषी पोस्ट्स को रीयल-टाइम में स्ट्रीम करता है।

एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका इस्तेमाल करना आसान है।
'data', 'error', 'close' जैसे इवेंट्स को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration का भी समर्थन करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                              | विवरण          |
| :---------- | :-------------------------------- | :------------- |
| `partition` | `number`                          | पार्टिशन नंबर। |
| `options`   | `PostsFirehoseEnStreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

#### यहाँ परिभाषित

[stream/stream\_client.ts:2571](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L2571)

***

<div id="postssample">
  ### postsSample
</div>

▸ **postsSample**(`options?`): `Promise`\<`EventDrivenStream`>

पोस्ट्स का नमूना स्ट्रीम करें
सार्वजनिक पोस्ट्स का 1% नमूना रीयल-टाइम में स्ट्रीम करता है।

एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका उपयोग करना आसान है।
'data', 'error', 'close' जैसे events सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration का भी समर्थन करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                          |
| :-------- | :---------------------------- |
| `options` | `PostsSampleStreamingOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

#### यहाँ परिभाषित

[stream/stream\_client.ts:2887](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L2887)

***

<div id="postssample10">
  ### postsSample10
</div>

▸ **postsSample10**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

पोस्ट्स का 10% सैंपल स्ट्रीम करें
सार्वजनिक पोस्ट्स के 10% सैंपल को रीयल-टाइम में स्ट्रीम करता है।

एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका इस्तेमाल करना आसान है।
'data', 'error', 'close' जैसे इवेंट्स को सुनने के लिए .on() का उपयोग करें।
for await...of के साथ async iteration भी समर्थित है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                            | विवरण          |
| :---------- | :------------------------------ | :------------- |
| `partition` | `number`                        | पार्टिशन नंबर। |
| `options`   | `PostsSample10StreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

#### यहाँ परिभाषित

[stream/stream\_client.ts:3145](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L3145)

***

<div id="postscompliance">
  ### postsCompliance
</div>

▸ **postsCompliance**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

पोस्ट्स अनुपालन डेटा को स्ट्रीम करता है
पोस्ट्स से संबंधित सभी अनुपालन डेटा को स्ट्रीम करता है।

एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका उपयोग करना आसान है।
'data', 'error', 'close' जैसे events को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration को भी सपोर्ट करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                              | विवरण          |
| :---------- | :-------------------------------- | :------------- |
| `partition` | `number`                          | पार्टिशन नंबर। |
| `options`   | `PostsComplianceStreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[stream/stream\_client.ts:3459](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L3459)

***

<div id="labelscompliance">
  ### labelsCompliance
</div>

▸ **labelsCompliance**(`options?`): `Promise`\<`EventDrivenStream`>

पोस्ट लेबल्स स्ट्रीम करें
पोस्ट्स पर लागू किए गए सभी लेबलिंग इवेंट्स को स्ट्रीम करता है।

यह एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका उपयोग करना आसान है।
'data', 'error', 'close' जैसे इवेंट्स को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration को भी सपोर्ट करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                               |
| :-------- | :--------------------------------- |
| `options` | `LabelsComplianceStreamingOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

#### यहाँ परिभाषित

[stream/stream\_client.ts:3651](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L3651)

***

<div id="posts">
  ### posts
</div>

▸ **posts**(`options?`): `Promise`\<`EventDrivenStream`>

फ़िल्टर किए गए पोस्ट्स को स्ट्रीम करता है
सक्रिय नियम-समूह से मेल खाने वाले पोस्ट्स को रीयल-टाइम में स्ट्रीम करता है।

यह एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका उपयोग करना आसान है।
'data', 'error', 'close' जैसे events को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration का भी समर्थन करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                    |
| :-------- | :---------------------- |
| `options` | `PostsStreamingOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[stream/stream\_client.ts:3827](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L3827)

***

<div id="postsfirehose">
  ### postsFirehose
</div>

▸ **postsFirehose**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

सभी पोस्ट्स को स्ट्रीम करें
यह सभी सार्वजनिक पोस्ट्स को रीयल-टाइम में स्ट्रीम करता है।

यह एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका उपयोग करना आसान है।
'data', 'error', 'close' जैसे इवेंट्स को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration का भी समर्थन करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                            | विवरण          |
| :---------- | :------------------------------ | :------------- |
| `partition` | `number`                        | पार्टिशन नंबर। |
| `options`   | `PostsFirehoseStreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

#### यहाँ परिभाषित

[stream/stream\_client.ts:4125](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L4125)

***

<div id="postsfirehosept">
  ### postsFirehosePt
</div>

▸ **postsFirehosePt**(`partition`, `options?`): `Promise`\<`EventDrivenStream`>

पुर्तगाली पोस्ट्स को स्ट्रीम करें
सभी सार्वजनिक पुर्तगाली-भाषी पोस्ट्स को रीयल टाइम में स्ट्रीम करता है।

एक इवेंट-ड्रिवन स्ट्रीम लौटाता है, जिसका उपयोग करना आसान है।
'data', 'error', 'close' जैसे events को सुनने के लिए .on() का उपयोग करें।
यह for await...of के साथ async iteration को भी सपोर्ट करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                              | विवरण          |
| :---------- | :-------------------------------- | :------------- |
| `partition` | `number`                          | पार्टिशन नंबर। |
| `options`   | `PostsFirehosePtStreamingOptions` | -              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`EventDrivenStream`>

स्ट्रीमिंग डेटा को संभालने के लिए इवेंट-ड्रिवन स्ट्रीम

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[stream/stream\_client.ts:4439](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L4439)

***

<div id="getrulecounts">
  ### getRuleCounts
</div>

▸ **getRuleCounts**(`options?`): `Promise`\<[`Get2TweetsSearchStreamRulesCountsResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2TweetsSearchStreamRulesCountsResponse)>

स्ट्रीम नियमों की संख्या प्राप्त करें
फ़िल्टर की गई स्ट्रीम के सक्रिय नियम सेट में नियमों की संख्या प्राप्त करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                            |
| :-------- | :------------------------------ |
| `options` | `GetRuleCountsStreamingOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`Get2TweetsSearchStreamRulesCountsResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2TweetsSearchStreamRulesCountsResponse)>

API रिस्पॉन्स वाला Promise

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[stream/stream\_client.ts:4753](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L4753)

***

<div id="getrules">
  ### getRules
</div>

▸ **getRules**(`options?`): `Promise`\<[`RulesLookupResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.RulesLookupResponse)>

स्ट्रीम नियम प्राप्त करें
यह फ़िल्टर की गई स्ट्रीम के लिए सक्रिय नियम-समूह या नियमों के किसी उपसमूह को पुनर्प्राप्त करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                       |
| :-------- | :------------------------- |
| `options` | `GetRulesStreamingOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`RulesLookupResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.RulesLookupResponse)>

API प्रतिक्रिया वाला Promise

#### यहाँ परिभाषित

[stream/stream\_client.ts:4854](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L4854)

***

<div id="updaterules">
  ### updateRules
</div>

▸ **updateRules**(`body`, `options?`): `Promise`\<[`AddOrDeleteRulesResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.AddOrDeleteRulesResponse)>

स्ट्रीम नियम अपडेट करें
फ़िल्टर की गई स्ट्रीम के लिए सक्रिय नियम-समूह में नियम जोड़ता है या हटाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                          |
| :-------- | :---------------------------- |
| `body`    | `any`                         |
| `options` | `UpdateRulesStreamingOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`AddOrDeleteRulesResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.AddOrDeleteRulesResponse)>

API response वाला Promise

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[stream/stream\_client.ts:4987](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/stream/stream_client.ts#L4987)
