pub struct RenewOperation;Expand description
Renew operation for UPnP event subscriptions
This operation handles renewing existing UPnP event subscriptions for any service. Unlike regular SOAP operations, this uses HTTP SUBSCRIBE method with SID header.
Implementations§
Source§impl RenewOperation
impl RenewOperation
Sourcepub fn execute(
soap_client: &SoapClient,
ip: &str,
service: Service,
request: &RenewRequest,
) -> Result<RenewResponse>
pub fn execute( soap_client: &SoapClient, ip: &str, service: Service, request: &RenewRequest, ) -> Result<RenewResponse>
Execute a subscription renewal request for a specific service
This method uses the soap-client’s renew_subscription functionality to extend an existing UPnP event subscription for the specified service.
§Arguments
soap_client- The SOAP client to use for the requestip- Device IP addressservice- The service to renew subscription forrequest- The renewal request parameters
§Returns
The renewal response containing the actual timeout granted
Auto Trait Implementations§
impl Freeze for RenewOperation
impl RefUnwindSafe for RenewOperation
impl Send for RenewOperation
impl Sync for RenewOperation
impl Unpin for RenewOperation
impl UnsafeUnpin for RenewOperation
impl UnwindSafe for RenewOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more