es_close ()

阅读(2270) 标签: 关闭restclient, 释放资源,

描述:

关闭restclient连接。

语法:

es_close(fd)

备注:

外部库函数,外部库的使用请参考《外部库使用指南》。
 
关闭restclient连接,释放资源

参数:

fd

restclient对象

示例:

 

A

 

1

=es_open("localhost:9200")

连接ES server

2

=es_close(A1)

关闭连接