Yoctopuce YoctoHub-Ethernet Mode D'emploi page 135

Table des Matières

Publicité

network→get_callbackMethod()
network→callbackMethod()
Retourne la méthode HTTP à utiliser pour signaler les changements d'état par callback.
function get_callbackMethod( )
js
Y_CALLBACKMETHOD_enum get_callbackMethod( )
cpp
-(Y_CALLBACKMETHOD_enum) callbackMethod
m
Integer get_callbackMethod( ): Integer
pas
function get_callbackMethod( ) As Integer
vb
int get_callbackMethod( )
cs
int get_callbackMethod( )
java
async Task<int> get_callbackMethod( )
uwp
get_callbackMethod( )
py
function get_callbackMethod( )
php
async get_callbackMethod( ): Promise<YNetwork_CallbackMethod>
ts
async get_callbackMethod( )
es
int get_callbackMethod( )
dnp
int get_callbackMethod( )
cp
YNetwork
target
cmd
Retourne :
YNetwork.CALLBACKMETHOD_POST
une valeur parmi
et
YNetwork.CALLBACKMETHOD_PUT
changements d'état par callback
E n
c a s
d ' e r r e u r ,
YNetwork.CALLBACKMETHOD_INVALID
www.yoctopuce.com
get_callbackMethod
d é c l e n c h e
YNetwork.CALLBACKMETHOD_GET
,
représentant la méthode HTTP à utiliser pour signaler les
u n e
e x c e p t i o n
.
10. Référence de l'API de haut niveau
YNetwork
o u
r e t o u r n e
131

Publicité

Table des Matières
loading

Table des Matières