HttpUtil

open class HttpUtil

本类中,所有涉及的接口,都需要业务方自己来实现

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var COOKIE_KEY: String
Link copied to clipboard
open var CSRF: String
Link copied to clipboard
open var CSRF_KEY: String
Link copied to clipboard
open var HOST: String

Functions

Link copied to clipboard
Link copied to clipboard
open fun checkinSync(): Boolean
Link copied to clipboard
open fun createChat(name: String, userIds: Array<Long>, handler: IResponseHandler<ChatCreateResponse>)
Link copied to clipboard
Link copied to clipboard
open fun disbandGroup(chatId: String, handler: IResponseHandler<CommonResult>)
Link copied to clipboard
open fun forbidGroupSetting(chatId: String, setting: String, handler: IResponseHandler<CommonResult>)
Link copied to clipboard
open fun getChatInfo(chatId: String, handler: IResponseHandler<ChatInfos>)
open fun getChatInfo(chatIds: List<String>, handler: IResponseHandler<ChatInfos>)
Link copied to clipboard
open fun groupMemberForbidSendMsg(chatId: String, enableMemberId: List<Long>, disableMemberId: List<Long>, handler: IResponseHandler<CommonResult>)
Link copied to clipboard
open fun inviteMember(chatId: String, userIds: Array<Long>, handler: IResponseHandler<InviteUserResponse>)
Link copied to clipboard
open fun leaveGroup(chatId: String, handler: IResponseHandler<CommonResult>)
Link copied to clipboard
open fun removeMember(chatId: String, userId: String, handler: IResponseHandler<String>)
Link copied to clipboard
open fun setCookie(cookies: String)
Link copied to clipboard
Link copied to clipboard
open fun updateChatName(chatId: String, name: String, handler: IResponseHandler<CommonResult>)
Link copied to clipboard
open fun userInfos(ids: List<String>, handler: IResponseHandler<Users>)