Php/docs/stomp.destruct

提供:Dev Guides
< Php
移動先:案内検索

Stomp::__destruct

stomp_close

(PECL stomp >= 0.1.0)

Stomp::__destruct -- stomp_closeCloses stomp connection


説明

オブジェクト指向型 (destructor):

public Stomp::__destruct ( ) : bool

手続き型:

stomp_close ( resource $link ) : bool

Closes a previously opened connection.


パラメータ

link
手続き型のみ: stomp_connect() が返す stomp リンク ID。


返り値

成功した場合に true を、失敗した場合に false を返します。


See stomp_connect().