[][src]Function transmission_sys::tr_sessionSetRPCEnabled

pub unsafe extern "C" fn tr_sessionSetRPCEnabled(
    session: *mut tr_session,
    isEnabled: bool
)

@brief Set whether or not RPC calls are allowed in this session.

@details If true, libtransmission will open a server socket to listen for incoming http RPC requests as described in docs/rpc-spec.txt.

This is intially set by tr_sessionInit() and can be queried by tr_sessionIsRPCEnabled().