Exemple #1
0
        async Task RunForHttpArchive(
            IEnumerableAsync <HAR.Message[]> input,
            LogSourcePostprocessorInput postprocessorInput
            )
        {
            HAR.IMessagingEvents messagingEvents = new HAR.MessagingEvents();

            var events = EnumerableAsync.Merge(
                messagingEvents.GetEvents(input)
                );

            await postprocessing.SequenceDiagram.CreatePostprocessorOutputBuilder()
            .SetMessagingEvents(events)
            .SetTriggersConverter(evtTrigger => TextLogEventTrigger.Make((HAR.Message)evtTrigger))
            .Build(postprocessorInput);
        }
        async Task RunForHttpArchive(
            IEnumerableAsync <HAR.Message[]> input,
            LogSourcePostprocessorInput postprocessorInput
            )
        {
            HAR.IMessagingEvents messagingEvents = new HAR.MessagingEvents();

            var events = EnumerableAsync.Merge(
                messagingEvents.GetEvents(input)
                );

            await postprocessing.SequenceDiagram.SavePostprocessorOutput(
                events,
                null,
                null,
                null,
                evtTrigger => TextLogEventTrigger.Make((HAR.Message)evtTrigger),
                postprocessorInput
                );
        }