Entegrasyon Ekle

saqut 2024-03-19 00:35:57 +03:00
parent 6d75530174
commit 9a2467cff8
1 changed files with 16 additions and 0 deletions

16
Entegrasyon.md Normal file

@ -0,0 +1,16 @@
İlk bağlantı MWSE'nin kendi içinde sunduğu script kütüphanesini projenize import etmek ile başlar
script 'module' değildir, typescript üzerinden ES5'e dönüştürülerek üretilmiştir
```html
<script src="https://ws.saqut.com/script"></script>
```
import ettikten sonra herhangi bir aşamada MWSE ismiyle kullanabilirsiniz
```html
<script>
const mwse = new MWSE({ endpoint: "wss://example.com" });
/// ... Other codes
</script>
```