setReplayConfiguration static method

XmlDocumentFragment setReplayConfiguration(
  1. ReplayConfiguration configuration
)

Implementation

static XmlDocumentFragment setReplayConfiguration(
    ReplayConfiguration configuration) {
  Transport.builder.element('SetReplayConfiguration', nest: () {
    Transport.builder.namespace(Xmlns.trp);

    Transport.builder.element('Configuration', nest: () {
      Transport.builder.element('SessionTimeout', nest: () {
        Transport.builder.namespace(Xmlns.tt);
        Transport.builder.text(configuration.sessionTimeout);
      });
    });
  });

  return Transport.builder.buildFragment();
}