Method and device for sending network request, electronic equipment and storage medium
The invention relates to a method and device for sending a network request, electronic equipment and a storage medium. The method comprises the following steps: setting a domain name used by a first application client according to a request sent by a first SDK (Software Development Kit) in the first...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a method and device for sending a network request, electronic equipment and a storage medium. The method comprises the following steps: setting a domain name used by a first application client according to a request sent by a first SDK (Software Development Kit) in the first application client; setting a corresponding interface list for the domain name used by the first application client; and sending the domain name used by the first application client and the corresponding interface list to a first SDK (Software Development Kit) in the first application client. By applying the method and the device, the connection reuse rate of the domain name can be effectively improved, and the time consumption of DNS analysis is greatly reduced.
本公开涉及一种发送网络请求的方法、装置、电子设备和存储介质。其中的方法包括:根据第一应用客户端中的第一SDK发送的请求,设置供所述第一应用客户端使用的域名;为所述第一应用客户端使用的域名域名设置对应的接口列表;将所述第一应用客户端使用的域名和对应的接口列表发送给所述第一应用客户端中的第一SDK。应用本公开可以有效地提高域名的连接复用率,大大减少DNS解析的耗时。 |
---|